Skip to content

Commit 83f23d1

Browse files
committed
🐛 Fix pre-commit check
1 parent e10d644 commit 83f23d1

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.pre-commit-config.yaml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
ci:
2+
autofix_commit_msg: Add pre-commit fixes
3+
autofix_prs: true
4+
autoupdate_commit_msg: Update pre-commit hooks
5+
autoupdate_schedule: monthly
6+
7+
repos:
8+
- repo: https://github.com/psf/black
9+
rev: 24.4.0
10+
hooks:
11+
- id: black
12+
13+
- repo: https://github.com/asottile/pyupgrade
14+
rev: v3.15.2
15+
hooks:
16+
- id: pyupgrade
17+
args: [--py36-plus]
18+
19+
- repo: https://github.com/PyCQA/isort
20+
rev: 5.13.2
21+
hooks:
22+
- id: isort
23+
additional_dependencies: [toml]
24+
25+
- repo: https://github.com/flakeheaven/flakeheaven
26+
rev: 3.3.0
27+
hooks:
28+
- id: flakeheaven
29+
additional_dependencies:
30+
- flake8-bugbear
31+
- flake8-comprehensions
32+
33+
- repo: https://github.com/pre-commit/pre-commit-hooks
34+
rev: v4.6.0
35+
hooks:
36+
- id: end-of-file-fixer
37+
- id: mixed-line-ending
38+
- id: trailing-whitespace
39+
40+
- repo: https://github.com/Lucas-C/pre-commit-hooks
41+
rev: v1.5.5
42+
hooks:
43+
- id: forbid-crlf
44+
exclude: docs/make.bat
45+
- id: forbid-tabs
46+
exclude: (?i)docs/make*

0 commit comments

Comments
 (0)