-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
32 lines (31 loc) · 1.1 KB
/
.pre-commit-config.yaml
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
repos:
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.1 # must match requirements-tests.txt
hooks:
- id: pycln
args: [--all, stubs, stdlib, tests, scripts]
- repo: https://github.com/psf/black
rev: 22.10.0 # must match requirements-tests.txt
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/pycqa/isort
rev: 5.10.1 # must match requirements-tests.txt
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pycqa/flake8
rev: 5.0.4 # must match requirements-tests.txt
hooks:
- id: flake8
additional_dependencies:
- 'flake8-bugbear==22.10.27' # must match requirements-tests.txt
- 'flake8-noqa==1.2.9' # must match requirements-tests.txt
- 'flake8-pyi==22.10.0' # must match requirements-tests.txt
ci:
autofix_commit_msg: '[pre-commit.ci] auto fixes from pre-commit.com hooks'
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: weekly
skip: [flake8]
submodules: false