Add new hook for running terraform-docs with replacing README.md from doc in main.tf

This commit is contained in:
rothandrew 2018-12-13 22:16:01 -05:00
commit 9aa971c069
6 changed files with 102 additions and 40 deletions

34
setup.py Normal file
View file

@ -0,0 +1,34 @@
from setuptools import find_packages
from setuptools import setup
setup(
name='pre-commit-terraform',
description='Pre-commit hooks for Terraform',
url='https://github.com/antonbabenko/pre-commit-terraform',
version_format='{tag}+{gitsha}',
author='Andrew Roth',
author_email='roth.andy@gmail.com',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=find_packages(exclude=('tests*', 'testing*')),
install_requires=[
'setuptools-git-version',
],
entry_points={
'console_scripts': [
'terraform_docs_replace = pre_commit_hooks.terraform_docs_replace:main',
],
},
)