Joshua Sundance Bailey commited on
Commit
7c729a3
1 Parent(s): b271993

update hooks

Browse files
Files changed (1) hide show
  1. .pre-commit-config.yaml +5 -5
.pre-commit-config.yaml CHANGED
@@ -10,7 +10,7 @@
10
  exclude: "AI_CHANGELOG.md"
11
  repos:
12
  - repo: https://github.com/charliermarsh/ruff-pre-commit
13
- rev: "v0.0.291"
14
  hooks:
15
  - id: ruff
16
  args: [--fix, --exit-non-zero-on-fix, --ignore, E501]
@@ -19,7 +19,7 @@ repos:
19
  hooks:
20
  - id: shellcheck
21
  - repo: https://github.com/pre-commit/pre-commit-hooks
22
- rev: v4.4.0
23
  hooks:
24
  - id: check-ast
25
  - id: check-builtin-literals
@@ -41,7 +41,7 @@ repos:
41
  - id: mixed-line-ending
42
  - id: requirements-txt-fixer
43
  - repo: https://github.com/psf/black
44
- rev: 23.9.1
45
  hooks:
46
  - id: black
47
  - repo: https://github.com/asottile/add-trailing-comma
@@ -49,13 +49,13 @@ repos:
49
  hooks:
50
  - id: add-trailing-comma
51
  - repo: https://github.com/pre-commit/mirrors-mypy
52
- rev: v1.5.1
53
  hooks:
54
  - id: mypy
55
  additional_dependencies:
56
  - types-requests
57
  - repo: https://github.com/PyCQA/bandit
58
- rev: 1.7.5
59
  hooks:
60
  - id: bandit
61
  args: ["-x", "tests/*.py", "-s", "B113"]
 
10
  exclude: "AI_CHANGELOG.md"
11
  repos:
12
  - repo: https://github.com/charliermarsh/ruff-pre-commit
13
+ rev: "v0.1.8"
14
  hooks:
15
  - id: ruff
16
  args: [--fix, --exit-non-zero-on-fix, --ignore, E501]
 
19
  hooks:
20
  - id: shellcheck
21
  - repo: https://github.com/pre-commit/pre-commit-hooks
22
+ rev: v4.5.0
23
  hooks:
24
  - id: check-ast
25
  - id: check-builtin-literals
 
41
  - id: mixed-line-ending
42
  - id: requirements-txt-fixer
43
  - repo: https://github.com/psf/black
44
+ rev: 23.12.0
45
  hooks:
46
  - id: black
47
  - repo: https://github.com/asottile/add-trailing-comma
 
49
  hooks:
50
  - id: add-trailing-comma
51
  - repo: https://github.com/pre-commit/mirrors-mypy
52
+ rev: v1.7.1
53
  hooks:
54
  - id: mypy
55
  additional_dependencies:
56
  - types-requests
57
  - repo: https://github.com/PyCQA/bandit
58
+ rev: 1.7.6
59
  hooks:
60
  - id: bandit
61
  args: ["-x", "tests/*.py", "-s", "B113"]