Spaces:
Running
Running
Update
Browse files- .pre-commit-config.yaml +7 -3
.pre-commit-config.yaml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
repos:
|
2 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
-
rev:
|
4 |
hooks:
|
5 |
- id: check-executables-have-shebangs
|
6 |
- id: check-json
|
@@ -24,7 +24,7 @@ repos:
|
|
24 |
- id: isort
|
25 |
args: ["--profile", "black"]
|
26 |
- repo: https://github.com/pre-commit/mirrors-mypy
|
27 |
-
rev: v1.
|
28 |
hooks:
|
29 |
- id: mypy
|
30 |
args: ["--ignore-missing-imports"]
|
@@ -36,11 +36,15 @@ repos:
|
|
36 |
"types-pytz",
|
37 |
]
|
38 |
- repo: https://github.com/psf/black
|
39 |
-
rev: 24.
|
40 |
hooks:
|
41 |
- id: black
|
42 |
language_version: python3.10
|
43 |
args: ["--line-length", "119"]
|
|
|
|
|
|
|
|
|
44 |
- repo: https://github.com/kynan/nbstripout
|
45 |
rev: 0.7.1
|
46 |
hooks:
|
|
|
1 |
repos:
|
2 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
+
rev: v5.0.0
|
4 |
hooks:
|
5 |
- id: check-executables-have-shebangs
|
6 |
- id: check-json
|
|
|
24 |
- id: isort
|
25 |
args: ["--profile", "black"]
|
26 |
- repo: https://github.com/pre-commit/mirrors-mypy
|
27 |
+
rev: v1.12.0
|
28 |
hooks:
|
29 |
- id: mypy
|
30 |
args: ["--ignore-missing-imports"]
|
|
|
36 |
"types-pytz",
|
37 |
]
|
38 |
- repo: https://github.com/psf/black
|
39 |
+
rev: 24.10.0
|
40 |
hooks:
|
41 |
- id: black
|
42 |
language_version: python3.10
|
43 |
args: ["--line-length", "119"]
|
44 |
+
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
45 |
+
rev: v0.7.0
|
46 |
+
hooks:
|
47 |
+
- id: ruff
|
48 |
- repo: https://github.com/kynan/nbstripout
|
49 |
rev: 0.7.1
|
50 |
hooks:
|