Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 1 | [metadata] |
| 2 | name = pre_commit_hooks |
Anthony Sottile | f71fa2c | 2022-11-23 14:35:47 -0500 | [diff] [blame] | 3 | version = 4.4.0 |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 4 | description = Some out-of-the-box hooks for pre-commit. |
| 5 | long_description = file: README.md |
| 6 | long_description_content_type = text/markdown |
| 7 | url = https://github.com/pre-commit/pre-commit-hooks |
| 8 | author = Anthony Sottile |
| 9 | author_email = asottile@umich.edu |
| 10 | license = MIT |
pre-commit-ci[bot] | d05d4d7 | 2023-06-06 03:14:39 +0000 | [diff] [blame] | 11 | license_files = LICENSE |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 12 | classifiers = |
| 13 | License :: OSI Approved :: MIT License |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 14 | Programming Language :: Python :: 3 |
Anthony Sottile | f5c42a0 | 2020-02-05 11:10:42 -0800 | [diff] [blame] | 15 | Programming Language :: Python :: 3 :: Only |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 16 | Programming Language :: Python :: Implementation :: CPython |
| 17 | Programming Language :: Python :: Implementation :: PyPy |
| 18 | |
| 19 | [options] |
| 20 | packages = find: |
| 21 | install_requires = |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 22 | ruamel.yaml>=0.15 |
Daniël van Noord | fc88f3f | 2022-05-24 08:44:13 +0200 | [diff] [blame] | 23 | tomli>=1.1.0;python_version<"3.11" |
Anthony Sottile | 50a9fef | 2023-07-01 15:41:17 -0400 | [diff] [blame] | 24 | python_requires = >=3.8 |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 25 | |
pre-commit-ci[bot] | c144e2b | 2021-03-15 17:01:52 +0000 | [diff] [blame] | 26 | [options.packages.find] |
| 27 | exclude = |
| 28 | tests* |
| 29 | testing* |
| 30 | |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 31 | [options.entry_points] |
| 32 | console_scripts = |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 33 | check-added-large-files = pre_commit_hooks.check_added_large_files:main |
| 34 | check-ast = pre_commit_hooks.check_ast:main |
| 35 | check-builtin-literals = pre_commit_hooks.check_builtin_literals:main |
| 36 | check-byte-order-marker = pre_commit_hooks.check_byte_order_marker:main |
| 37 | check-case-conflict = pre_commit_hooks.check_case_conflict:main |
| 38 | check-docstring-first = pre_commit_hooks.check_docstring_first:main |
| 39 | check-executables-have-shebangs = pre_commit_hooks.check_executables_have_shebangs:main |
| 40 | check-json = pre_commit_hooks.check_json:main |
| 41 | check-merge-conflict = pre_commit_hooks.check_merge_conflict:main |
Ville Skyttä | bb4eef1 | 2021-05-16 13:23:23 +0300 | [diff] [blame] | 42 | check-shebang-scripts-are-executable = pre_commit_hooks.check_shebang_scripts_are_executable:main |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 43 | check-symlinks = pre_commit_hooks.check_symlinks:main |
Semyon Maryasin | ae70f7e | 2019-03-28 01:13:45 +0300 | [diff] [blame] | 44 | check-toml = pre_commit_hooks.check_toml:main |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 45 | check-vcs-permalinks = pre_commit_hooks.check_vcs_permalinks:main |
| 46 | check-xml = pre_commit_hooks.check_xml:main |
| 47 | check-yaml = pre_commit_hooks.check_yaml:main |
| 48 | debug-statement-hook = pre_commit_hooks.debug_statement_hook:main |
Mikhail Khvoinitsky | 1e87d59 | 2020-08-02 21:25:07 +0300 | [diff] [blame] | 49 | destroyed-symlinks = pre_commit_hooks.destroyed_symlinks:main |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 50 | detect-aws-credentials = pre_commit_hooks.detect_aws_credentials:main |
| 51 | detect-private-key = pre_commit_hooks.detect_private_key:main |
| 52 | double-quote-string-fixer = pre_commit_hooks.string_fixer:main |
| 53 | end-of-file-fixer = pre_commit_hooks.end_of_file_fixer:main |
| 54 | file-contents-sorter = pre_commit_hooks.file_contents_sorter:main |
Jeremiah Gowdy | d18bd5b | 2020-10-04 18:45:54 -0700 | [diff] [blame] | 55 | fix-byte-order-marker = pre_commit_hooks.fix_byte_order_marker:main |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 56 | fix-encoding-pragma = pre_commit_hooks.fix_encoding_pragma:main |
| 57 | forbid-new-submodules = pre_commit_hooks.forbid_new_submodules:main |
| 58 | mixed-line-ending = pre_commit_hooks.mixed_line_ending:main |
| 59 | name-tests-test = pre_commit_hooks.tests_should_end_in_test:main |
| 60 | no-commit-to-branch = pre_commit_hooks.no_commit_to_branch:main |
Anthony Sottile | b9cc9d7 | 2020-05-14 16:00:29 -0700 | [diff] [blame] | 61 | pre-commit-hooks-removed = pre_commit_hooks.removed:main |
Anthony Sottile | 1a5a5a2 | 2019-02-27 22:12:12 -0800 | [diff] [blame] | 62 | pretty-format-json = pre_commit_hooks.pretty_format_json:main |
| 63 | requirements-txt-fixer = pre_commit_hooks.requirements_txt_fixer:main |
| 64 | sort-simple-yaml = pre_commit_hooks.sort_simple_yaml:main |
| 65 | trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:main |
| 66 | |
Anthony Sottile | 3a325ee | 2018-04-30 09:33:25 -0400 | [diff] [blame] | 67 | [bdist_wheel] |
Anthony Sottile | 775a790 | 2016-08-12 10:24:39 -0700 | [diff] [blame] | 68 | universal = True |
Anthony Sottile | 8bb09ce | 2019-05-08 14:30:29 -0700 | [diff] [blame] | 69 | |
Anthony Sottile | a7f7343 | 2020-02-29 20:34:45 -0800 | [diff] [blame] | 70 | [coverage:run] |
| 71 | plugins = covdefaults |
| 72 | |
Anthony Sottile | 8bb09ce | 2019-05-08 14:30:29 -0700 | [diff] [blame] | 73 | [mypy] |
| 74 | check_untyped_defs = true |
| 75 | disallow_any_generics = true |
| 76 | disallow_incomplete_defs = true |
| 77 | disallow_untyped_defs = true |
Anthony Sottile | 8041dff | 2021-06-21 19:15:42 -0700 | [diff] [blame] | 78 | warn_redundant_casts = true |
| 79 | warn_unused_ignores = true |
Anthony Sottile | 8bb09ce | 2019-05-08 14:30:29 -0700 | [diff] [blame] | 80 | |
| 81 | [mypy-testing.*] |
| 82 | disallow_untyped_defs = false |
| 83 | |
| 84 | [mypy-tests.*] |
| 85 | disallow_untyped_defs = false |