Skip to content

Commit 9d16c83

Browse files
committed
feat: add pre-commit configuration
1 parent 3ea6c36 commit 9d16c83

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.pre-commit-config.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
ci:
2+
autofix_prs: false
3+
autoupdate_schedule: monthly
4+
5+
repos:
6+
- repo: https://github.com/asottile/pyupgrade
7+
rev: v3.14.0
8+
hooks:
9+
- id: pyupgrade
10+
args: [--py38-plus]
11+
- repo: https://github.com/pycqa/isort
12+
rev: 5.12.0
13+
hooks:
14+
- id: isort
15+
- repo: https://github.com/psf/black
16+
rev: 23.9.1
17+
hooks:
18+
- id: black
19+
- repo: https://github.com/PyCQA/flake8
20+
rev: 6.1.0
21+
hooks:
22+
- id: flake8
23+
additional_dependencies:
24+
- flake8-bugbear
25+
- flake8-builtins
26+
- flake8-comprehensions
27+
- flake8-debugger
28+
- flake8-deprecated
29+
- flake8-isort
30+
- flake8-pep3101
31+
- flake8-print
32+
- flake8-quotes
33+
34+
- repo: https://github.com/codespell-project/codespell
35+
rev: v2.2.6
36+
hooks:
37+
- id: codespell
38+
additional_dependencies:
39+
- tomli
40+
- repo: https://github.com/mgedmin/check-manifest
41+
rev: "0.49"
42+
hooks:
43+
- id: check-manifest
44+
- repo: https://github.com/regebro/pyroma
45+
rev: "4.2"
46+
hooks:
47+
- id: pyroma
48+
- repo: https://github.com/mgedmin/check-python-versions
49+
rev: "0.21.3"
50+
hooks:
51+
- id: check-python-versions

0 commit comments

Comments
 (0)