|
1 | | -from setuptools import find_packages |
2 | 1 | from setuptools import setup |
3 | | - |
4 | | - |
5 | | -setup( |
6 | | - name='pre_commit_hooks', |
7 | | - description='Some out-of-the-box hooks for pre-commit.', |
8 | | - url='https://github.com/pre-commit/pre-commit-hooks', |
9 | | - version='2.1.0', |
10 | | - |
11 | | - author='Anthony Sottile', |
12 | | - |
13 | | - |
14 | | - classifiers=[ |
15 | | - 'License :: OSI Approved :: MIT License', |
16 | | - 'Programming Language :: Python :: 2', |
17 | | - 'Programming Language :: Python :: 2.7', |
18 | | - 'Programming Language :: Python :: 3', |
19 | | - 'Programming Language :: Python :: 3.6', |
20 | | - 'Programming Language :: Python :: 3.7', |
21 | | - 'Programming Language :: Python :: Implementation :: CPython', |
22 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
23 | | - ], |
24 | | - |
25 | | - packages=find_packages(exclude=('tests*', 'testing*')), |
26 | | - install_requires=[ |
27 | | - 'flake8', |
28 | | - 'ruamel.yaml>=0.15', |
29 | | - 'six', |
30 | | - ], |
31 | | - extras_require={':python_version<"3.5"': ['typing']}, |
32 | | - entry_points={ |
33 | | - 'console_scripts': [ |
34 | | - 'autopep8-wrapper = pre_commit_hooks.autopep8_wrapper:main', |
35 | | - 'check-added-large-files = pre_commit_hooks.check_added_large_files:main', # noqa: E501 |
36 | | - 'check-ast = pre_commit_hooks.check_ast:main', |
37 | | - 'check-builtin-literals = pre_commit_hooks.check_builtin_literals:main', # noqa: E501 |
38 | | - 'check-byte-order-marker = pre_commit_hooks.check_byte_order_marker:main', # noqa: E501 |
39 | | - 'check-case-conflict = pre_commit_hooks.check_case_conflict:main', |
40 | | - 'check-docstring-first = pre_commit_hooks.check_docstring_first:main', # noqa: E501 |
41 | | - 'check-executables-have-shebangs = pre_commit_hooks.check_executables_have_shebangs:main', # noqa: E501 |
42 | | - 'check-json = pre_commit_hooks.check_json:main', |
43 | | - 'check-merge-conflict = pre_commit_hooks.check_merge_conflict:main', # noqa: E501 |
44 | | - 'check-symlinks = pre_commit_hooks.check_symlinks:main', |
45 | | - 'check-vcs-permalinks = pre_commit_hooks.check_vcs_permalinks:main', # noqa: E501 |
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', # noqa: E501 |
49 | | - 'detect-aws-credentials = pre_commit_hooks.detect_aws_credentials:main', # noqa: E501 |
50 | | - 'detect-private-key = pre_commit_hooks.detect_private_key:main', |
51 | | - 'double-quote-string-fixer = pre_commit_hooks.string_fixer:main', |
52 | | - 'end-of-file-fixer = pre_commit_hooks.end_of_file_fixer:main', |
53 | | - 'file-contents-sorter = pre_commit_hooks.file_contents_sorter:main', # noqa: E501 |
54 | | - 'fix-encoding-pragma = pre_commit_hooks.fix_encoding_pragma:main', |
55 | | - 'forbid-new-submodules = pre_commit_hooks.forbid_new_submodules:main', # noqa: E501 |
56 | | - 'mixed-line-ending = pre_commit_hooks.mixed_line_ending:main', |
57 | | - 'name-tests-test = pre_commit_hooks.tests_should_end_in_test:main', |
58 | | - 'no-commit-to-branch = pre_commit_hooks.no_commit_to_branch:main', |
59 | | - 'pretty-format-json = pre_commit_hooks.pretty_format_json:main', |
60 | | - 'requirements-txt-fixer = pre_commit_hooks.requirements_txt_fixer:main', # noqa: E501 |
61 | | - 'sort-simple-yaml = pre_commit_hooks.sort_simple_yaml:main', |
62 | | - 'trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:main', # noqa: E501 |
63 | | - ], |
64 | | - }, |
65 | | -) |
| 2 | +setup() |
0 commit comments