-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
41 lines (41 loc) · 1.17 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
39
40
41
repos:
- repo: https://github.com/peterdemin/pip-compile-multi
rev: v2.4.5
hooks:
- id: pip-compile-multi-verify
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-json
# - id: pretty-format-json
# args:
# - --autofix
- id: end-of-file-fixer
exclude: '.bin|.meta.json'
- id: trailing-whitespace
exclude: '.bin|.meta.json'
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
# - repo: https://github.com/PyCQA/flake8
# rev: '6.1.0'
# hooks:
# - id: flake8
# exclude: src/license_plate_annotator/models/
# args: ["--extend-ignore=E203,E501,P103,W503"]
# additional_dependencies: [
# 'flake8-blind-except',
# 'flake8-docstrings',
# 'flake8-bugbear',
# 'flake8-comprehensions',
# 'flake8-docstrings',
# 'flake8-implicit-str-concat',
# 'flake8-fastapi',
# 'pydocstyle>=5.0.0',
# ]
# - repo: https://github.com/kynan/nbstripout
# rev: 0.4.0
# hooks:
# - id: nbstripout
# files: ".ipynb"