-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
38 lines (38 loc) · 1.23 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
33
34
35
36
37
38
# pre-commit run --all-files
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.0
hooks:
- id: mypy
args: [--ignore-missing-imports]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies:
- pep8-naming~=0.13.3
- flake8-annotations~=3.0.1
- flake8-assert-msg~=1.1.1
- flake8-bugbear~=23.9.16
- flake8-builtins~=2.1.0
- flake8-comprehensions~=3.14.0
- flake8-eradicate~=1.5.0
- flake8-executable~=2.1.3
- flake8-implicit-str-concat~=0.4.0
- flake8-plugin-utils==1.3.3
- flake8-pytest-style~=1.7.2
- flake8-raise~=0.0.5
- flake8-string-format~=0.3.0