-
Notifications
You must be signed in to change notification settings - Fork 9
/
.pre-commit-config.yaml
39 lines (39 loc) · 1.51 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-docstring-first
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- id: end-of-file-fixer
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- id: trailing-whitespace
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py38-plus, --keep-runtime-typing]
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports"]
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports>=1.9.0]
args: ["-j8", "--ignore=TYP001,E501,W503"]
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
hooks:
- id: ruff
exclude: ^constructor-manager-ui/src/constructor_manager_ui/style/images.py