|
a |
|
b/.pre-commit-config.yaml |
|
|
1 |
exclude: '^tutorials/input' |
|
|
2 |
|
|
|
3 |
repos: |
|
|
4 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
5 |
rev: v5.0.0 |
|
|
6 |
hooks: |
|
|
7 |
- id: check-yaml |
|
|
8 |
- id: end-of-file-fixer |
|
|
9 |
- id: trailing-whitespace |
|
|
10 |
- repo: https://github.com/psf/black |
|
|
11 |
rev: 24.10.0 |
|
|
12 |
hooks: |
|
|
13 |
- id: black |
|
|
14 |
- repo: https://github.com/PyCQA/flake8 |
|
|
15 |
rev: 7.1.1 |
|
|
16 |
hooks: |
|
|
17 |
- id: flake8 |
|
|
18 |
exclude: ^tutorials |
|
|
19 |
- repo: https://github.com/pre-commit/mirrors-mypy |
|
|
20 |
rev: v1.12.1 |
|
|
21 |
hooks: |
|
|
22 |
- id: mypy |
|
|
23 |
exclude: ^tutorials |
|
|
24 |
- repo: https://github.com/PyCQA/isort |
|
|
25 |
rev: 5.13.2 |
|
|
26 |
hooks: |
|
|
27 |
- id: isort |