-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (31 loc) · 927 Bytes
/
.pre-commit-config.yaml
File metadata and controls
34 lines (31 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
language_version: python3
args: [--line-length=120]
exclude: ^test_pypi_env/
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: [--profile=black, --line-length=120]
exclude: ^test_pypi_env/
- repo: https://github.com/pycqa/flake8
rev: 7.1.1
hooks:
- id: flake8
args: ["--max-line-length=120", "--extend-ignore=E203,W503,E712,E402,F401,F841,F541,E501,E722"]
exclude: ^test_pypi_env/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^test_pypi_env/
- id: end-of-file-fixer
exclude: ^test_pypi_env/
- id: check-yaml
- id: check-added-large-files
exclude: ^test_pypi_env/
- id: check-merge-conflict