Spaces:
Running
Running
Julien Simon
commited on
Commit
•
66eb016
1
Parent(s):
00df5c1
Update plugins
Browse files- .pre-commit-config.yaml +7 -7
.pre-commit-config.yaml
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
repos:
|
2 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
-
rev:
|
4 |
hooks:
|
5 |
- id: trailing-whitespace
|
6 |
- id: end-of-file-fixer
|
7 |
- id: check-added-large-files
|
8 |
|
9 |
- repo: https://github.com/psf/black
|
10 |
-
rev: 24.
|
11 |
hooks:
|
12 |
- id: black
|
13 |
entry: bash -c 'black "$@"; git add -u' --
|
@@ -26,12 +26,12 @@ repos:
|
|
26 |
args: [--max-line-length=120, "--extend-ignore=E501,E402"]
|
27 |
|
28 |
- repo: https://github.com/kynan/nbstripout
|
29 |
-
rev: 0.
|
30 |
hooks:
|
31 |
- id: nbstripout
|
32 |
|
33 |
- repo: https://github.com/nbQA-dev/nbQA
|
34 |
-
rev: 1.
|
35 |
hooks:
|
36 |
- id: nbqa-black
|
37 |
additional_dependencies: [black==23.3.0]
|
@@ -52,19 +52,19 @@ repos:
|
|
52 |
- black==23.3.0
|
53 |
|
54 |
- repo: https://github.com/aws-cloudformation/cfn-lint
|
55 |
-
rev: v1.
|
56 |
hooks:
|
57 |
- id: cfn-lint
|
58 |
files: cloudformation/.*\.(json|yml|yaml)$
|
59 |
|
60 |
- repo: https://github.com/pre-commit/mirrors-mypy
|
61 |
-
rev: v1.
|
62 |
hooks:
|
63 |
- id: mypy
|
64 |
entry: bash -c 'mypy "$@"; git add -u' --
|
65 |
|
66 |
- repo: https://github.com/PyCQA/pylint
|
67 |
-
rev: v3.
|
68 |
hooks:
|
69 |
- id: pylint
|
70 |
args: [--rcfile=.pylintrc]
|
|
|
1 |
repos:
|
2 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
+
rev: v5.0.0
|
4 |
hooks:
|
5 |
- id: trailing-whitespace
|
6 |
- id: end-of-file-fixer
|
7 |
- id: check-added-large-files
|
8 |
|
9 |
- repo: https://github.com/psf/black
|
10 |
+
rev: 24.10.0
|
11 |
hooks:
|
12 |
- id: black
|
13 |
entry: bash -c 'black "$@"; git add -u' --
|
|
|
26 |
args: [--max-line-length=120, "--extend-ignore=E501,E402"]
|
27 |
|
28 |
- repo: https://github.com/kynan/nbstripout
|
29 |
+
rev: 0.8.1
|
30 |
hooks:
|
31 |
- id: nbstripout
|
32 |
|
33 |
- repo: https://github.com/nbQA-dev/nbQA
|
34 |
+
rev: 1.9.1
|
35 |
hooks:
|
36 |
- id: nbqa-black
|
37 |
additional_dependencies: [black==23.3.0]
|
|
|
52 |
- black==23.3.0
|
53 |
|
54 |
- repo: https://github.com/aws-cloudformation/cfn-lint
|
55 |
+
rev: v1.20.1 # Use the latest version available
|
56 |
hooks:
|
57 |
- id: cfn-lint
|
58 |
files: cloudformation/.*\.(json|yml|yaml)$
|
59 |
|
60 |
- repo: https://github.com/pre-commit/mirrors-mypy
|
61 |
+
rev: v1.13.0
|
62 |
hooks:
|
63 |
- id: mypy
|
64 |
entry: bash -c 'mypy "$@"; git add -u' --
|
65 |
|
66 |
- repo: https://github.com/PyCQA/pylint
|
67 |
+
rev: v3.3.1
|
68 |
hooks:
|
69 |
- id: pylint
|
70 |
args: [--rcfile=.pylintrc]
|