blob: a819f5c1a0389de1b2972438f7c65d6323229953 [file] [log] [blame]
Anthony Sottilee5774322017-09-07 19:22:03 -07001repos:
Anthony Sottile3a3a7a12015-12-25 09:37:18 -08002- repo: https://github.com/pre-commit/pre-commit-hooks
Anthony Sottile9cc62e12021-05-14 20:17:35 -07003 rev: v4.0.0
Anthony Sottile4fc86a82014-03-14 14:23:08 -07004 hooks:
Anthony Sottile3e36dfe2014-03-23 23:10:35 -07005 - id: trailing-whitespace
Anthony Sottile3e36dfe2014-03-23 23:10:35 -07006 - id: end-of-file-fixer
Anthony Sottileb08f8342015-01-04 16:05:20 -08007 - id: check-docstring-first
Anthony Sottilee1f5bab2014-08-19 16:05:41 -07008 - id: check-json
Anthony Sottilea42a26b2014-12-31 12:24:22 -08009 - id: check-added-large-files
Anthony Sottile84fbf052014-04-03 22:23:50 -070010 - id: check-yaml
Anthony Sottile84fbf052014-04-03 22:23:50 -070011 - id: debug-statements
Anthony Sottile84fbf052014-04-03 22:23:50 -070012 - id: name-tests-test
Anthony Sottile8626e262019-02-11 19:57:37 -080013 - id: double-quote-string-fixer
Anthony Sottileb08f8342015-01-04 16:05:20 -080014 - id: requirements-txt-fixer
pre-commit-ci[bot]45e252f2021-04-05 17:08:26 +000015- repo: https://github.com/PyCQA/flake8
pre-commit-ci[bot]f90bef22021-05-10 20:21:04 +000016 rev: 3.9.2
Anthony Sottile63cc3412019-01-30 00:15:11 -080017 hooks:
Anthony Sottile13b4ca52014-04-13 17:58:19 -070018 - id: flake8
Anthony Sottile261fb3d2020-02-24 10:57:26 -080019 additional_dependencies: [flake8-typing-imports==1.7.0]
Anthony Sottile526904b2018-10-11 17:19:35 -070020- repo: https://github.com/pre-commit/mirrors-autopep8
pre-commit-ci[bot]43427832021-05-03 17:17:27 +000021 rev: v1.5.7
Anthony Sottile526904b2018-10-11 17:19:35 -070022 hooks:
23 - id: autopep8
Anthony Sottile3a3a7a12015-12-25 09:37:18 -080024- repo: https://github.com/asottile/reorder_python_imports
pre-commit-ci[bot]0423b8b2021-04-26 17:18:44 +000025 rev: v2.5.0
Anthony Sottileb08f8342015-01-04 16:05:20 -080026 hooks:
27 - id: reorder-python-imports
Anthony Sottilef5c42a02020-02-05 11:10:42 -080028 args: [--py3-plus]
Anthony Sottile9cee71b2017-03-12 18:01:29 -070029- repo: https://github.com/asottile/pyupgrade
pre-commit-ci[bot]f90bef22021-05-10 20:21:04 +000030 rev: v2.15.0
Anthony Sottile9cee71b2017-03-12 18:01:29 -070031 hooks:
32 - id: pyupgrade
Anthony Sottilef5c42a02020-02-05 11:10:42 -080033 args: [--py36-plus]
Anthony Sottile2a902e02017-07-12 18:35:24 -070034- repo: https://github.com/asottile/add-trailing-comma
pre-commit-ci[bot]a3a8d292021-01-25 16:39:55 +000035 rev: v2.1.0
Anthony Sottile2a902e02017-07-12 18:35:24 -070036 hooks:
37 - id: add-trailing-comma
Anthony Sottilef5c42a02020-02-05 11:10:42 -080038 args: [--py36-plus]
39- repo: https://github.com/asottile/setup-cfg-fmt
pre-commit-ci[bot]4dcbacb2021-03-15 17:00:31 +000040 rev: v1.17.0
Anthony Sottilef5c42a02020-02-05 11:10:42 -080041 hooks:
42 - id: setup-cfg-fmt
Anthony Sottile030bfac2019-01-31 19:19:10 -080043- repo: https://github.com/pre-commit/mirrors-mypy
pre-commit-ci[bot]d90e97d2021-02-22 17:03:23 +000044 rev: v0.812
Anthony Sottile030bfac2019-01-31 19:19:10 -080045 hooks:
46 - id: mypy