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 | c4a0b88 | 2023-10-07 14:04:19 -0400 | [diff] [blame] | 3 | rev: v4.5.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 | 84fbf05 | 2014-04-03 22:23:50 -0700 | [diff] [blame] | 7 | - id: check-yaml |
Anthony Sottile | 84fbf05 | 2014-04-03 22:23:50 -0700 | [diff] [blame] | 8 | - id: debug-statements |
Anthony Sottile | 8626e26 | 2019-02-11 19:57:37 -0800 | [diff] [blame] | 9 | - id: double-quote-string-fixer |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 10 | - id: name-tests-test |
Anthony Sottile | b08f834 | 2015-01-04 16:05:20 -0800 | [diff] [blame] | 11 | - id: requirements-txt-fixer |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 12 | - repo: https://github.com/asottile/setup-cfg-fmt |
pre-commit-ci[bot] | 038e3dd | 2023-10-03 08:58:19 +0000 | [diff] [blame] | 13 | rev: v2.5.0 |
Anthony Sottile | 63cc341 | 2019-01-30 00:15:11 -0800 | [diff] [blame] | 14 | hooks: |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 15 | - id: setup-cfg-fmt |
pre-commit-ci[bot] | 894c7c4 | 2023-05-09 04:04:00 +0000 | [diff] [blame] | 16 | - repo: https://github.com/asottile/reorder-python-imports |
pre-commit-ci[bot] | 038e3dd | 2023-10-03 08:58:19 +0000 | [diff] [blame] | 17 | rev: v3.12.0 |
Anthony Sottile | b08f834 | 2015-01-04 16:05:20 -0800 | [diff] [blame] | 18 | hooks: |
| 19 | - id: reorder-python-imports |
Anthony Sottile | 50a9fef | 2023-07-01 15:41:17 -0400 | [diff] [blame] | 20 | args: [--py38-plus, --add-import, 'from __future__ import annotations'] |
Anthony Sottile | 2a902e0 | 2017-07-12 18:35:24 -0700 | [diff] [blame] | 21 | - repo: https://github.com/asottile/add-trailing-comma |
pre-commit-ci[bot] | 7bf53fa | 2023-09-05 06:46:56 +0000 | [diff] [blame] | 22 | rev: v3.1.0 |
Anthony Sottile | 2a902e0 | 2017-07-12 18:35:24 -0700 | [diff] [blame] | 23 | hooks: |
| 24 | - id: add-trailing-comma |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 25 | - repo: https://github.com/asottile/pyupgrade |
pre-commit-ci[bot] | 16f5239 | 2024-02-20 00:02:27 +0000 | [diff] [blame] | 26 | rev: v3.15.1 |
Anthony Sottile | f5c42a0 | 2020-02-05 11:10:42 -0800 | [diff] [blame] | 27 | hooks: |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 28 | - id: pyupgrade |
Anthony Sottile | 50a9fef | 2023-07-01 15:41:17 -0400 | [diff] [blame] | 29 | args: [--py38-plus] |
pre-commit-ci[bot] | 7bf53fa | 2023-09-05 06:46:56 +0000 | [diff] [blame] | 30 | - repo: https://github.com/hhatto/autopep8 |
pre-commit-ci[bot] | baa6589 | 2023-08-29 05:38:18 +0000 | [diff] [blame] | 31 | rev: v2.0.4 |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 32 | hooks: |
| 33 | - id: autopep8 |
| 34 | - repo: https://github.com/PyCQA/flake8 |
pre-commit-ci[bot] | 8e04042 | 2024-01-08 20:21:22 +0000 | [diff] [blame] | 35 | rev: 7.0.0 |
Anthony Sottile | 1e48e90 | 2022-03-25 14:12:21 -0400 | [diff] [blame] | 36 | hooks: |
| 37 | - id: flake8 |
Anthony Sottile | 030bfac | 2019-01-31 19:19:10 -0800 | [diff] [blame] | 38 | - repo: https://github.com/pre-commit/mirrors-mypy |
pre-commit-ci[bot] | bda540f | 2024-03-13 00:16:08 +0000 | [diff] [blame] | 39 | rev: v1.9.0 |
Anthony Sottile | 030bfac | 2019-01-31 19:19:10 -0800 | [diff] [blame] | 40 | hooks: |
| 41 | - id: mypy |
Anthony Sottile | fabe3d8 | 2021-06-14 11:30:37 -0700 | [diff] [blame] | 42 | additional_dependencies: [types-all] |