Skip to content

Commit

Permalink
Fix pre-commit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
twsl committed Sep 29, 2024
1 parent 0158736 commit 9358cd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ lightning = "^2.4.0"{% endif %}
ruff = "^0.6.8"
bandit = "^1.7.10"
pre-commit = "^3.8.0"
pyright = "^1.1.380"
pyright = "^1.1.382"
{% if include_notebooks %}ipykernel = "^6.29.5"
ipywidgets = "^8.1.5"
ipython = "^8.27.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ci:

repos:
- repo: https://github.com/python-poetry/poetry
rev: 1.8.3
# https://python-poetry.org/docs/pre-commit-hooks/#why-does-pre-commit-autoupdate-not-update-to-the-latest-version
rev: 1.8.0
hooks:
- id: poetry-check
- id: poetry-lock
Expand All @@ -35,7 +36,7 @@ repos:
- id: detect-private-key

- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
rev: 1.7.10
hooks:
- id: bandit
args: [-c, pyproject.toml]
Expand All @@ -53,7 +54,7 @@ repos:
args: [--fix, -v]

- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.380
rev: v1.1.382
hooks:
- id: pyright
args: [--verbose, --project=.]
Expand All @@ -62,6 +63,6 @@ repos:
types: [python]

- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
rev: v8.19.3
hooks:
- id: gitleaks

0 comments on commit 9358cd9

Please sign in to comment.