hayas commited on
Commit
d5697df
1 Parent(s): 15a5dc5
Files changed (1) hide show
  1. .pre-commit-config.yaml +8 -4
.pre-commit-config.yaml CHANGED
@@ -1,6 +1,6 @@
1
  repos:
2
  - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.6.0
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.9.0
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.4.0
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:
@@ -51,7 +55,7 @@ repos:
51
  "metadata.interpreter metadata.kernelspec cell.metadata.pycharm",
52
  ]
53
  - repo: https://github.com/nbQA-dev/nbQA
54
- rev: 1.8.5
55
  hooks:
56
  - id: nbqa-black
57
  - id: nbqa-pyupgrade
 
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:
 
55
  "metadata.interpreter metadata.kernelspec cell.metadata.pycharm",
56
  ]
57
  - repo: https://github.com/nbQA-dev/nbQA
58
+ rev: 1.8.7
59
  hooks:
60
  - id: nbqa-black
61
  - id: nbqa-pyupgrade