Anthony Sottile | e577432 | 2017-09-07 19:22:03 -0700 | [diff] [blame] | 1 | repos: |
Anthony Sottile | 3a3a7a1 | 2015-12-25 09:37:18 -0800 | [diff] [blame] | 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
Anthony Sottile | 9cc62e1 | 2021-05-14 20:17:35 -0700 | [diff] [blame^] | 3 | rev: v4.0.0 |
Anthony Sottile | 4fc86a8 | 2014-03-14 14:23:08 -0700 | [diff] [blame] | 4 | hooks: |
Anthony Sottile | 3e36dfe | 2014-03-23 23:10:35 -0700 | [diff] [blame] | 5 | - id: trailing-whitespace |
Anthony Sottile | 3e36dfe | 2014-03-23 23:10:35 -0700 | [diff] [blame] | 6 | - id: end-of-file-fixer |
Anthony Sottile | b08f834 | 2015-01-04 16:05:20 -0800 | [diff] [blame] | 7 | - id: check-docstring-first |
Anthony Sottile | e1f5bab | 2014-08-19 16:05:41 -0700 | [diff] [blame] | 8 | - id: check-json |
Anthony Sottile | a42a26b | 2014-12-31 12:24:22 -0800 | [diff] [blame] | 9 | - id: check-added-large-files |
Anthony Sottile | 84fbf05 | 2014-04-03 22:23:50 -0700 | [diff] [blame] | 10 | - id: check-yaml |
Anthony Sottile | 84fbf05 | 2014-04-03 22:23:50 -0700 | [diff] [blame] | 11 | - id: debug-statements |
Anthony Sottile | 84fbf05 | 2014-04-03 22:23:50 -0700 | [diff] [blame] | 12 | - id: name-tests-test |
Anthony Sottile | 8626e26 | 2019-02-11 19:57:37 -0800 | [diff] [blame] | 13 | - id: double-quote-string-fixer |
Anthony Sottile | b08f834 | 2015-01-04 16:05:20 -0800 | [diff] [blame] | 14 | - id: requirements-txt-fixer |
pre-commit-ci[bot] | 45e252f | 2021-04-05 17:08:26 +0000 | [diff] [blame] | 15 | - repo: https://github.com/PyCQA/flake8 |
pre-commit-ci[bot] | f90bef2 | 2021-05-10 20:21:04 +0000 | [diff] [blame] | 16 | rev: 3.9.2 |
Anthony Sottile | 63cc341 | 2019-01-30 00:15:11 -0800 | [diff] [blame] | 17 | hooks: |
Anthony Sottile | 13b4ca5 | 2014-04-13 17:58:19 -0700 | [diff] [blame] | 18 | - id: flake8 |
Anthony Sottile | 261fb3d | 2020-02-24 10:57:26 -0800 | [diff] [blame] | 19 | additional_dependencies: [flake8-typing-imports==1.7.0] |
Anthony Sottile | 526904b | 2018-10-11 17:19:35 -0700 | [diff] [blame] | 20 | - repo: https://github.com/pre-commit/mirrors-autopep8 |
pre-commit-ci[bot] | 4342783 | 2021-05-03 17:17:27 +0000 | [diff] [blame] | 21 | rev: v1.5.7 |
Anthony Sottile | 526904b | 2018-10-11 17:19:35 -0700 | [diff] [blame] | 22 | hooks: |
| 23 | - id: autopep8 |
Anthony Sottile | 3a3a7a1 | 2015-12-25 09:37:18 -0800 | [diff] [blame] | 24 | - repo: https://github.com/asottile/reorder_python_imports |
pre-commit-ci[bot] | 0423b8b | 2021-04-26 17:18:44 +0000 | [diff] [blame] | 25 | rev: v2.5.0 |
Anthony Sottile | b08f834 | 2015-01-04 16:05:20 -0800 | [diff] [blame] | 26 | hooks: |
| 27 | - id: reorder-python-imports |
Anthony Sottile | f5c42a0 | 2020-02-05 11:10:42 -0800 | [diff] [blame] | 28 | args: [--py3-plus] |
Anthony Sottile | 9cee71b | 2017-03-12 18:01:29 -0700 | [diff] [blame] | 29 | - repo: https://github.com/asottile/pyupgrade |
pre-commit-ci[bot] | f90bef2 | 2021-05-10 20:21:04 +0000 | [diff] [blame] | 30 | rev: v2.15.0 |
Anthony Sottile | 9cee71b | 2017-03-12 18:01:29 -0700 | [diff] [blame] | 31 | hooks: |
| 32 | - id: pyupgrade |
Anthony Sottile | f5c42a0 | 2020-02-05 11:10:42 -0800 | [diff] [blame] | 33 | args: [--py36-plus] |
Anthony Sottile | 2a902e0 | 2017-07-12 18:35:24 -0700 | [diff] [blame] | 34 | - repo: https://github.com/asottile/add-trailing-comma |
pre-commit-ci[bot] | a3a8d29 | 2021-01-25 16:39:55 +0000 | [diff] [blame] | 35 | rev: v2.1.0 |
Anthony Sottile | 2a902e0 | 2017-07-12 18:35:24 -0700 | [diff] [blame] | 36 | hooks: |
| 37 | - id: add-trailing-comma |
Anthony Sottile | f5c42a0 | 2020-02-05 11:10:42 -0800 | [diff] [blame] | 38 | args: [--py36-plus] |
| 39 | - repo: https://github.com/asottile/setup-cfg-fmt |
pre-commit-ci[bot] | 4dcbacb | 2021-03-15 17:00:31 +0000 | [diff] [blame] | 40 | rev: v1.17.0 |
Anthony Sottile | f5c42a0 | 2020-02-05 11:10:42 -0800 | [diff] [blame] | 41 | hooks: |
| 42 | - id: setup-cfg-fmt |
Anthony Sottile | 030bfac | 2019-01-31 19:19:10 -0800 | [diff] [blame] | 43 | - repo: https://github.com/pre-commit/mirrors-mypy |
pre-commit-ci[bot] | d90e97d | 2021-02-22 17:03:23 +0000 | [diff] [blame] | 44 | rev: v0.812 |
Anthony Sottile | 030bfac | 2019-01-31 19:19:10 -0800 | [diff] [blame] | 45 | hooks: |
| 46 | - id: mypy |