Skip to content

Commit cff59d6

Browse files
committed
chore: offer pre-commit hooks at same versions
1 parent d8b885b commit cff59d6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.pre-commit-config.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
repos:
2+
- repo: https://github.com/pycqa/isort
3+
rev: 6.0.1
4+
hooks:
5+
- id: isort
6+
name: isort (python)
7+
args: [--check-only, --diff, src/cobra, setup.py, tests]
8+
- repo: https://github.com/psf/black
9+
rev: 25.1.0
10+
hooks:
11+
- id: black
12+
args: [--check, --diff, src/cobra, setup.py, tests]
13+
- repo: https://github.com/pycqa/flake8
14+
rev: 7.1.2
15+
hooks:
16+
- id: flake8
17+
args: [src/cobra, setup.py, tests]
18+
additional_dependencies:
19+
- flake8-docstrings
20+
- flake8-bugbear

0 commit comments

Comments
 (0)