mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Add new hook for running terraform-docs with replacing README.md from doc in main.tf
This commit is contained in:
parent
7acd99eeb7
commit
9aa971c069
6 changed files with 102 additions and 40 deletions
34
setup.py
Normal file
34
setup.py
Normal 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',
|
||||
],
|
||||
},
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue