-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (34 loc) · 971 Bytes
/
.pre-commit-config.yaml
File metadata and controls
34 lines (34 loc) · 971 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.3.0
hooks:
- id: black
args: [--safe, --quiet]
- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: [black]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: ^examples/
- id: end-of-file-fixer
exclude: ^examples/
# - repo: https://github.com/pre-commit/mirrors-isort
# rev: v5.2.2
# hooks:
# - id: isort
# exclude: tests/data
# - repo: https://github.com/PyCQA/flake8
# rev: 7.0.0
# hooks:
# - id: flake8
# exclude: tests/data
# language_version: python3
# additional_dependencies:
# - flake8-typing-imports==1.9.0
# - flake8-builtins==1.5.3
# - flake8-bugbear==20.1.4
# # - flake8-isort==3.0.1