Skip to content

Commit e3e01bd

Browse files
committed
Add pre-commit configuration
1 parent 03d761f commit e3e01bd

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 25.1.0
4+
hooks:
5+
- id: black
6+
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v5.0.0
9+
hooks:
10+
- id: check-added-large-files
11+
- id: check-ast
12+
- id: check-case-conflict
13+
- id: check-executables-have-shebangs
14+
- id: check-merge-conflict
15+
- id: check-toml
16+
- id: check-yaml
17+
18+
- repo: https://github.com/pycqa/flake8
19+
rev: 7.1.2
20+
hooks:
21+
- id: flake8
22+
23+
- repo: https://github.com/pycqa/isort/
24+
rev: 6.0.1
25+
hooks:
26+
- id: isort
27+
28+
- repo: https://github.com/PyCQA/pylint
29+
rev: v3.3.4
30+
hooks:
31+
- id: pylint
32+
additional_dependencies: ['pylint>=2.16.0']

0 commit comments

Comments
 (0)