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