2019-02-28 14:12:12 +08:00
|
|
|
[metadata]
|
|
|
|
name = pre_commit_hooks
|
2024-10-06 02:42:33 +08:00
|
|
|
version = 5.0.0
|
2019-02-28 14:12:12 +08:00
|
|
|
description = Some out-of-the-box hooks for pre-commit.
|
|
|
|
long_description = file: README.md
|
|
|
|
long_description_content_type = text/markdown
|
|
|
|
url = https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
author = Anthony Sottile
|
|
|
|
author_email = asottile@umich.edu
|
|
|
|
license = MIT
|
2023-06-06 11:14:39 +08:00
|
|
|
license_files = LICENSE
|
2019-02-28 14:12:12 +08:00
|
|
|
classifiers =
|
|
|
|
License :: OSI Approved :: MIT License
|
|
|
|
Programming Language :: Python :: 3
|
2020-02-06 03:10:42 +08:00
|
|
|
Programming Language :: Python :: 3 :: Only
|
2019-02-28 14:12:12 +08:00
|
|
|
Programming Language :: Python :: Implementation :: CPython
|
|
|
|
Programming Language :: Python :: Implementation :: PyPy
|
|
|
|
|
|
|
|
[options]
|
|
|
|
packages = find:
|
|
|
|
install_requires =
|
|
|
|
ruamel.yaml>=0.15
|
2022-05-24 14:44:13 +08:00
|
|
|
tomli>=1.1.0;python_version<"3.11"
|
2023-07-02 03:41:17 +08:00
|
|
|
python_requires = >=3.8
|
2019-02-28 14:12:12 +08:00
|
|
|
|
2021-03-16 01:01:52 +08:00
|
|
|
[options.packages.find]
|
|
|
|
exclude =
|
|
|
|
tests*
|
|
|
|
testing*
|
|
|
|
|
2019-02-28 14:12:12 +08:00
|
|
|
[options.entry_points]
|
|
|
|
console_scripts =
|
|
|
|
check-added-large-files = pre_commit_hooks.check_added_large_files:main
|
|
|
|
check-ast = pre_commit_hooks.check_ast:main
|
|
|
|
check-builtin-literals = pre_commit_hooks.check_builtin_literals:main
|
|
|
|
check-byte-order-marker = pre_commit_hooks.check_byte_order_marker:main
|
|
|
|
check-case-conflict = pre_commit_hooks.check_case_conflict:main
|
|
|
|
check-docstring-first = pre_commit_hooks.check_docstring_first:main
|
|
|
|
check-executables-have-shebangs = pre_commit_hooks.check_executables_have_shebangs:main
|
|
|
|
check-json = pre_commit_hooks.check_json:main
|
|
|
|
check-merge-conflict = pre_commit_hooks.check_merge_conflict:main
|
2021-05-16 18:23:23 +08:00
|
|
|
check-shebang-scripts-are-executable = pre_commit_hooks.check_shebang_scripts_are_executable:main
|
2019-02-28 14:12:12 +08:00
|
|
|
check-symlinks = pre_commit_hooks.check_symlinks:main
|
2019-03-28 06:13:45 +08:00
|
|
|
check-toml = pre_commit_hooks.check_toml:main
|
2019-02-28 14:12:12 +08:00
|
|
|
check-vcs-permalinks = pre_commit_hooks.check_vcs_permalinks:main
|
|
|
|
check-xml = pre_commit_hooks.check_xml:main
|
|
|
|
check-yaml = pre_commit_hooks.check_yaml:main
|
|
|
|
debug-statement-hook = pre_commit_hooks.debug_statement_hook:main
|
2020-08-03 02:25:07 +08:00
|
|
|
destroyed-symlinks = pre_commit_hooks.destroyed_symlinks:main
|
2019-02-28 14:12:12 +08:00
|
|
|
detect-aws-credentials = pre_commit_hooks.detect_aws_credentials:main
|
|
|
|
detect-private-key = pre_commit_hooks.detect_private_key:main
|
|
|
|
double-quote-string-fixer = pre_commit_hooks.string_fixer:main
|
|
|
|
end-of-file-fixer = pre_commit_hooks.end_of_file_fixer:main
|
|
|
|
file-contents-sorter = pre_commit_hooks.file_contents_sorter:main
|
2020-10-05 09:45:54 +08:00
|
|
|
fix-byte-order-marker = pre_commit_hooks.fix_byte_order_marker:main
|
2019-02-28 14:12:12 +08:00
|
|
|
fix-encoding-pragma = pre_commit_hooks.fix_encoding_pragma:main
|
|
|
|
forbid-new-submodules = pre_commit_hooks.forbid_new_submodules:main
|
|
|
|
mixed-line-ending = pre_commit_hooks.mixed_line_ending:main
|
|
|
|
name-tests-test = pre_commit_hooks.tests_should_end_in_test:main
|
|
|
|
no-commit-to-branch = pre_commit_hooks.no_commit_to_branch:main
|
2020-05-15 07:00:29 +08:00
|
|
|
pre-commit-hooks-removed = pre_commit_hooks.removed:main
|
2019-02-28 14:12:12 +08:00
|
|
|
pretty-format-json = pre_commit_hooks.pretty_format_json:main
|
|
|
|
requirements-txt-fixer = pre_commit_hooks.requirements_txt_fixer:main
|
|
|
|
sort-simple-yaml = pre_commit_hooks.sort_simple_yaml:main
|
|
|
|
trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:main
|
|
|
|
|
2018-04-30 21:33:25 +08:00
|
|
|
[bdist_wheel]
|
2016-08-13 01:24:39 +08:00
|
|
|
universal = True
|
2019-05-09 05:30:29 +08:00
|
|
|
|
2020-03-01 12:34:45 +08:00
|
|
|
[coverage:run]
|
|
|
|
plugins = covdefaults
|
|
|
|
|
2019-05-09 05:30:29 +08:00
|
|
|
[mypy]
|
|
|
|
check_untyped_defs = true
|
|
|
|
disallow_any_generics = true
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
disallow_untyped_defs = true
|
2021-06-22 10:15:42 +08:00
|
|
|
warn_redundant_casts = true
|
|
|
|
warn_unused_ignores = true
|
2019-05-09 05:30:29 +08:00
|
|
|
|
|
|
|
[mypy-testing.*]
|
|
|
|
disallow_untyped_defs = false
|
|
|
|
|
|
|
|
[mypy-tests.*]
|
|
|
|
disallow_untyped_defs = false
|