diff options
Diffstat (limited to '')
-rw-r--r-- | setup.cfg | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..a447bbb --- /dev/null +++ b/setup.cfg @@ -0,0 +1,63 @@ +[metadata] +name = pre_commit +version = 3.6.2 +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_files = LICENSE +classifiers = + License :: OSI Approved :: MIT License + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + 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 + virtualenv>=20.10.0 +python_requires = >=3.9 + +[options.packages.find] +exclude = + tests* + testing* + +[options.entry_points] +console_scripts = + pre-commit = pre_commit.main:main + +[options.package_data] +pre_commit.resources = + *.tar.gz + empty_template_* + hook-tmpl + +[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 +warn_redundant_casts = true +warn_unused_ignores = true + +[mypy-testing.*] +disallow_untyped_defs = false + +[mypy-tests.*] +disallow_untyped_defs = false |