|
| 1 | +repos: |
| 2 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: v4.0.1 |
| 4 | + hooks: |
| 5 | + - id: check-docstring-first |
| 6 | + - id: end-of-file-fixer |
| 7 | + - id: trailing-whitespace |
| 8 | + - repo: https://github.com/asottile/setup-cfg-fmt |
| 9 | + rev: v1.17.0 |
| 10 | + hooks: |
| 11 | + - id: setup-cfg-fmt |
| 12 | + - repo: https://github.com/PyCQA/flake8 |
| 13 | + rev: 3.9.2 |
| 14 | + hooks: |
| 15 | + - id: flake8 |
| 16 | + additional_dependencies: [flake8-typing-imports==1.7.0] |
| 17 | + - repo: https://github.com/myint/autoflake |
| 18 | + rev: v1.4 |
| 19 | + hooks: |
| 20 | + - id: autoflake |
| 21 | + args: ["--in-place", "--remove-all-unused-imports"] |
| 22 | + - repo: https://github.com/PyCQA/isort |
| 23 | + rev: 5.8.0 |
| 24 | + hooks: |
| 25 | + - id: isort |
| 26 | + - repo: https://github.com/psf/black |
| 27 | + rev: 21.5b2 |
| 28 | + hooks: |
| 29 | + - id: black |
| 30 | + - repo: https://github.com/asottile/pyupgrade |
| 31 | + rev: v2.19.0 |
| 32 | + hooks: |
| 33 | + - id: pyupgrade |
| 34 | + args: [--py37-plus] |
0 commit comments