|
1 | | -exclude: docs |
| 1 | +exclude: "(^dynaconf/vendor+.|^venv/+.|^.venv/+.|^env/+.|^.tox/+.|^build/+.|docs)" |
| 2 | +default_language_version: |
| 3 | + python: python3 |
2 | 4 | repos: |
3 | | - - repo: https://github.com/asottile/reorder_python_imports |
4 | | - rev: v3.0.1 |
5 | | - hooks: |
6 | | - - id: reorder-python-imports |
7 | | - language_version: python3 |
8 | | - args: [--py3-plus] |
9 | | - exclude: &exc "(^dynaconf/vendor+.|^venv/+.|^.venv/+.|^env/+.|^.tox/+.|^build/+.)" |
10 | | - - repo: https://github.com/ambv/black |
11 | | - rev: 22.3.0 |
12 | | - hooks: |
13 | | - - id: black |
14 | | - args: [--line-length=79] |
15 | | - language_version: python3 |
16 | | - exclude: *exc |
17 | | - |
18 | | - - repo: https://github.com/pre-commit/mirrors-mypy |
19 | | - rev: v0.942 |
20 | | - hooks: |
21 | | - - id: mypy |
22 | | - files: ^dynaconf/ |
23 | | - exclude: *exc |
24 | | - |
25 | 5 | - repo: https://github.com/pre-commit/pre-commit-hooks |
26 | | - rev: v4.1.0 |
| 6 | + rev: v4.2.0 |
27 | 7 | hooks: |
28 | 8 | - id: trailing-whitespace |
29 | | - language_version: python3 |
30 | | - exclude: *exc |
31 | 9 | - id: end-of-file-fixer |
32 | | - language_version: python3 |
33 | | - exclude: *exc |
34 | 10 | - id: check-yaml |
35 | | - language_version: python3 |
36 | | - exclude: *exc |
37 | 11 | - id: check-merge-conflict |
38 | | - language_version: python3 |
39 | | - exclude: *exc |
40 | 12 | - id: debug-statements |
41 | | - language_version: python3 |
42 | | - exclude: *exc |
43 | 13 | - id: fix-encoding-pragma |
44 | | - language_version: python3 |
45 | | - exclude: *exc |
46 | 14 | args: [--remove] |
| 15 | + - repo: https://github.com/asottile/reorder_python_imports |
| 16 | + rev: v3.1.0 |
| 17 | + hooks: |
| 18 | + - id: reorder-python-imports |
| 19 | + - repo: https://github.com/ambv/black |
| 20 | + rev: 22.3.0 |
| 21 | + hooks: |
| 22 | + - id: black |
| 23 | + args: [--line-length=79] |
47 | 24 | - repo: https://gitlab.com/pycqa/flake8 |
48 | 25 | rev: 3.9.2 |
49 | 26 | hooks: |
50 | 27 | - id: flake8 |
51 | | - args: ['--ignore=F403,W504,W503,F841,E401,F401,E402'] |
52 | | - language_version: python3 |
53 | | - exclude: *exc |
| 28 | + - repo: https://github.com/pre-commit/mirrors-mypy |
| 29 | + rev: v0.960 |
| 30 | + hooks: |
| 31 | + - id: mypy |
| 32 | + files: ^dynaconf/ |
0 commit comments