|
| 1 | +--- |
1 | 2 | repos: |
2 | 3 | - repo: https://github.com/psf/black |
3 | 4 | rev: 19.10b0 |
|
7 | 8 | - repo: https://github.com/pre-commit/pre-commit-hooks |
8 | 9 | rev: v3.1.0 |
9 | 10 | hooks: |
10 | | - - id: trailing-whitespace |
11 | | - - id: end-of-file-fixer |
12 | | - - id: fix-encoding-pragma |
13 | | - args: [--remove] |
14 | | - - id: check-yaml |
15 | | - - id: debug-statements |
16 | | - language_version: python3 |
| 11 | + - id: trailing-whitespace |
| 12 | + - id: end-of-file-fixer |
| 13 | + - id: fix-encoding-pragma |
| 14 | + args: [--remove] |
| 15 | + - id: check-yaml |
| 16 | + - id: debug-statements |
| 17 | + language_version: python3 |
17 | 18 | - repo: https://gitlab.com/pycqa/flake8 |
18 | 19 | rev: 3.8.3 |
19 | 20 | hooks: |
20 | | - - id: flake8 |
21 | | - language_version: python3 |
22 | | - additional_dependencies: [flake8-typing-imports==1.9.0] |
| 21 | + - id: flake8 |
| 22 | + language_version: python3 |
| 23 | + additional_dependencies: [flake8-typing-imports==1.9.0] |
23 | 24 | - repo: https://github.com/asottile/reorder_python_imports |
24 | 25 | rev: v2.3.2 |
25 | 26 | hooks: |
26 | | - - id: reorder-python-imports |
27 | | - args: ['--application-directories=.:src', --py3-plus] |
| 27 | + - id: reorder-python-imports |
| 28 | + args: ['--application-directories=.:src', --py3-plus] |
28 | 29 | - repo: https://github.com/asottile/pyupgrade |
29 | 30 | rev: v2.7.1 |
30 | 31 | hooks: |
31 | | - - id: pyupgrade |
32 | | - args: [--py3-plus] |
| 32 | + - id: pyupgrade |
| 33 | + args: [--py3-plus] |
33 | 34 | - repo: local |
34 | 35 | hooks: |
35 | | - - id: rst |
36 | | - name: rst |
37 | | - entry: rst-lint --encoding utf-8 |
38 | | - files: ^(CHANGES.rst|README.rst)$ |
39 | | - language: python |
40 | | - additional_dependencies: [pygments, restructuredtext_lint] |
| 36 | + - id: rst |
| 37 | + name: rst |
| 38 | + entry: rst-lint --encoding utf-8 |
| 39 | + files: ^(CHANGES.rst|README.rst)$ |
| 40 | + language: python |
| 41 | + additional_dependencies: [pygments, restructuredtext_lint] |
0 commit comments