Skip to content

Commit

Permalink
update pre-commit checks/deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Feb 5, 2024
1 parent 201eef6 commit 4b4b0b6
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 131 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Expand Up @@ -4,7 +4,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.4.0
hooks:
- id: no-commit-to-branch
- id: check-executables-have-shebangs
Expand All @@ -22,29 +22,29 @@ repos:
args:
- --autofix
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.7.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
rev: v1.5.1
hooks:
- id: mypy
language: system
- repo: https://github.com/pycqa/pylint
rev: v2.13.4
rev: v2.17.5
hooks:
- id: pylint
language: system
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.13
rev: v1.5.0
hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
rev: 1.7.5
hooks:
- id: bandit
args: ["--skip=B101"]
Expand All @@ -53,9 +53,9 @@ repos:
hooks:
- id: rst-linter
- repo: https://github.com/Yelp/detect-secrets
rev: v1.2.0
rev: v1.4.0
hooks:
- id: detect-secrets
language: system
exclude: "poetry.lock|data/.*jwtRS256.key|data/.*jwtRS256.pub"
exclude: "poetry\\.lock|tests/data/.*"
# args: ['--baseline', '.secrets.baseline']

0 comments on commit 4b4b0b6

Please sign in to comment.