We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13423c commit b539f0aCopy full SHA for b539f0a
.pre-commit-config.yaml
@@ -0,0 +1,31 @@
1
+repos:
2
+- repo: https://github.com/psf/black
3
+ rev: "24.2.0"
4
+ hooks:
5
+ - id: black
6
+ - id: black-jupyter # for formatting jupyter-notebook
7
+
8
+- repo: https://github.com/pycqa/isort
9
+ rev: 5.13.2
10
11
+ - id: isort
12
+ name: isort (python)
13
+ args: ["--profile=black"]
14
15
+- repo: https://github.com/asottile/seed-isort-config
16
+ rev: v2.2.0
17
18
+ - id: seed-isort-config
19
20
+- repo: https://github.com/pre-commit/pre-commit-hooks
21
+ rev: v4.6.0
22
23
+ - id: check-yaml
24
+ - id: end-of-file-fixer
25
+ - id: trailing-whitespace
26
27
+- repo: https://github.com/astral-sh/ruff-pre-commit
28
+ rev: v0.12.1
29
30
+ - id: ruff
31
+ args: [] # No --fix, disables formatting
0 commit comments