diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ea241f..b80186d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ default_language_version: python: python3 -default_stages: [ commit, push ] +default_stages: [ pre-commit, pre-push ] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -34,18 +34,18 @@ repos: rev: 0.6.7 hooks: [ { id: fix-smartquotes }, { id: fix-ligatures } ] - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.6.0' + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: 'v0.8.0' hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: [ { id: black, args: [ --config=pyproject.toml ] } ] - repo: https://github.com/PyCQA/bandit/ - rev: 1.7.9 + rev: 1.7.10 hooks: - id: bandit args: [ "-c", "pyproject.toml" ]