summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg70
1 files changed, 70 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..a02fab1
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,70 @@
+[metadata]
+name = pre_commit
+version = 2.2.0
+description = A framework for managing and maintaining multi-language pre-commit hooks.
+long_description = file: README.md
+long_description_content_type = text/markdown
+url = https://github.com/pre-commit/pre-commit
+author = Anthony Sottile
+author_email = asottile@umich.edu
+license = MIT
+license_file = LICENSE
+classifiers =
+ License :: OSI Approved :: MIT License
+ Programming Language :: Python :: 3
+ Programming Language :: Python :: 3 :: Only
+ Programming Language :: Python :: 3.6
+ Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: Implementation :: CPython
+ Programming Language :: Python :: Implementation :: PyPy
+
+[options]
+packages = find:
+install_requires =
+ cfgv>=2.0.0
+ identify>=1.0.0
+ nodeenv>=0.11.1
+ pyyaml>=5.1
+ toml
+ virtualenv>=15.2
+ importlib-metadata;python_version<"3.8"
+ importlib-resources;python_version<"3.7"
+python_requires = >=3.6.1
+
+[options.entry_points]
+console_scripts =
+ pre-commit = pre_commit.main:main
+ pre-commit-validate-config = pre_commit.clientlib:validate_config_main
+ pre-commit-validate-manifest = pre_commit.clientlib:validate_manifest_main
+
+[options.package_data]
+pre_commit.resources =
+ *.tar.gz
+ empty_template_*
+ hook-tmpl
+
+[options.packages.find]
+exclude =
+ tests*
+ testing*
+
+[bdist_wheel]
+universal = True
+
+[coverage:run]
+plugins = covdefaults
+omit = pre_commit/resources/*
+
+[mypy]
+check_untyped_defs = true
+disallow_any_generics = true
+disallow_incomplete_defs = true
+disallow_untyped_defs = true
+no_implicit_optional = true
+
+[mypy-testing.*]
+disallow_untyped_defs = false
+
+[mypy-tests.*]
+disallow_untyped_defs = false