Skip to content

Commit 3815c71

Browse files
committed
Added .pre-commit-config.yaml with black and isort
1 parent a784433 commit 3815c71

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
# https://black.readthedocs.io/en/stable/integrations/source_version_control.html#
3+
- repo: https://github.com/psf/black-pre-commit-mirror
4+
rev: 25.11.0
5+
hooks:
6+
- id: black
7+
files: \.py$
8+
9+
# https://pycqa.github.io/isort/docs/configuration/pre-commit.html
10+
- repo: https://github.com/PyCQA/isort
11+
rev: 7.0.0
12+
hooks:
13+
- id: isort
14+
files: \.py$
15+
args: [--profile=black]

0 commit comments

Comments
 (0)