hysts HF staff commited on
Commit
284fcfc
1 Parent(s): 9a8027b

Update .pre-commit-config.yaml

Browse files
Files changed (1) hide show
  1. .pre-commit-config.yaml +5 -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.4.0
4
  hooks:
5
  - id: check-executables-have-shebangs
6
  - id: check-json
@@ -24,14 +24,14 @@ repos:
24
  - id: isort
25
  args: ["--profile", "black"]
26
  - repo: https://github.com/pre-commit/mirrors-mypy
27
- rev: v1.5.1
28
  hooks:
29
  - id: mypy
30
  args: ["--ignore-missing-imports"]
31
  additional_dependencies:
32
  ["types-python-slugify", "types-requests", "types-PyYAML"]
33
  - repo: https://github.com/psf/black
34
- rev: 23.9.1
35
  hooks:
36
  - id: black
37
  language_version: python3.10
@@ -46,9 +46,10 @@ repos:
46
  "metadata.interpreter metadata.kernelspec cell.metadata.pycharm",
47
  ]
48
  - repo: https://github.com/nbQA-dev/nbQA
49
- rev: 1.7.0
50
  hooks:
51
  - id: nbqa-black
52
  - id: nbqa-pyupgrade
53
  args: ["--py37-plus"]
54
  - id: nbqa-isort
 
 
1
  repos:
2
  - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v4.5.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.7.1
28
  hooks:
29
  - id: mypy
30
  args: ["--ignore-missing-imports"]
31
  additional_dependencies:
32
  ["types-python-slugify", "types-requests", "types-PyYAML"]
33
  - repo: https://github.com/psf/black
34
+ rev: 23.11.0
35
  hooks:
36
  - id: black
37
  language_version: python3.10
 
46
  "metadata.interpreter metadata.kernelspec cell.metadata.pycharm",
47
  ]
48
  - repo: https://github.com/nbQA-dev/nbQA
49
+ rev: 1.7.1
50
  hooks:
51
  - id: nbqa-black
52
  - id: nbqa-pyupgrade
53
  args: ["--py37-plus"]
54
  - id: nbqa-isort
55
+ args: ["--float-to-top"]