|
1 | 1 | repos:
|
2 |
| -- repo: https://github.com/psf/black |
3 |
| - rev: 19.10b0 |
| 2 | + - repo: https://github.com/psf/black |
| 3 | + rev: 20.8b1 # also bump this in Pipfile |
4 | 4 | hooks:
|
5 |
| - - id: black |
| 5 | + - id: black |
6 | 6 | args: [--safe, --quiet]
|
7 |
| -- repo: https://github.com/asottile/blacken-docs |
| 7 | + - repo: https://github.com/asottile/blacken-docs |
8 | 8 | rev: v1.7.0
|
9 | 9 | hooks:
|
10 |
| - - id: blacken-docs |
11 |
| - additional_dependencies: [black==19.10b0] |
12 |
| -- repo: https://github.com/pre-commit/pre-commit-hooks |
| 10 | + - id: blacken-docs |
| 11 | + additional_dependencies: [black==20.8b1] # also bump this in Pipfile |
| 12 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
13 | 13 | rev: v3.1.0
|
14 | 14 | hooks:
|
15 |
| - - id: trailing-whitespace |
16 |
| - - id: end-of-file-fixer |
17 |
| - - id: fix-encoding-pragma |
| 15 | + - id: trailing-whitespace |
| 16 | + - id: end-of-file-fixer |
| 17 | + - id: fix-encoding-pragma |
18 | 18 | args: [--remove]
|
19 |
| - - id: check-yaml |
20 |
| - - id: debug-statements |
| 19 | + - id: check-yaml |
| 20 | + - id: debug-statements |
21 | 21 | language_version: python3
|
22 |
| -- repo: https://gitlab.com/pycqa/flake8 |
23 |
| - rev: 3.8.2 |
| 22 | + - repo: https://gitlab.com/pycqa/flake8 |
| 23 | + rev: 3.8.4 # also bump this in Pipfile |
24 | 24 | hooks:
|
25 |
| - - id: flake8 |
| 25 | + - id: flake8 |
26 | 26 | language_version: python3
|
27 | 27 | additional_dependencies:
|
28 |
| - - flake8-builtins==1.5.3 |
29 |
| - - flake8-typing-imports==1.9.0 |
30 |
| -- repo: https://github.com/asottile/reorder_python_imports |
| 28 | + - flake8-builtins==1.5.3 |
| 29 | + - flake8-typing-imports==1.9.0 |
| 30 | + - repo: https://github.com/asottile/reorder_python_imports |
31 | 31 | rev: v2.3.0
|
32 | 32 | hooks:
|
33 |
| - - id: reorder-python-imports |
34 |
| - args: ['--application-directories=.:src:testing', --py3-plus] |
35 |
| -- repo: https://github.com/asottile/pyupgrade |
| 33 | + - id: reorder-python-imports |
| 34 | + args: ["--application-directories=.:src:testing", --py3-plus] |
| 35 | + - repo: https://github.com/asottile/pyupgrade |
36 | 36 | rev: v2.4.4
|
37 | 37 | hooks:
|
38 |
| - - id: pyupgrade |
| 38 | + - id: pyupgrade |
39 | 39 | args: [--py3-plus]
|
40 |
| -- repo: https://github.com/pre-commit/mirrors-eslint |
| 40 | + - repo: https://github.com/pre-commit/mirrors-eslint |
41 | 41 | rev: v7.13.0
|
42 | 42 | hooks:
|
43 |
| - - id: eslint |
| 43 | + - id: eslint |
44 | 44 | additional_dependencies:
|
45 |
| - |
| 45 | + |
46 | 46 | args: [src]
|
47 |
| -- repo: local |
| 47 | + - repo: local |
48 | 48 | hooks:
|
49 |
| - - id: rst |
| 49 | + - id: rst |
50 | 50 | name: rst
|
51 | 51 | entry: rst-lint --encoding utf-8
|
52 | 52 | files: ^(CHANGES.rst|development.rst|README.rst)$
|
53 | 53 | language: python
|
54 | 54 | additional_dependencies: [pygments, restructuredtext_lint]
|
55 |
| -- repo: https://github.com/elidupuis/mirrors-sass-lint |
56 |
| - rev: '5cc45653263b423398e4af2561fae362903dd45d' |
| 55 | + - repo: https://github.com/elidupuis/mirrors-sass-lint |
| 56 | + rev: "5cc45653263b423398e4af2561fae362903dd45d" |
57 | 57 | hooks:
|
58 |
| - - id: sass-lint |
| 58 | + - id: sass-lint |
0 commit comments