diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea88378..4141333 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ # Inspired by textual pre-commit config repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v5.0.0 hooks: - id: check-ast # simply checks whether the files parse as valid python - id: check-builtin-literals # requires literal syntax when initializing empty or zero python builtin types @@ -19,20 +19,20 @@ repos: - id: mixed-line-ending # replaces or checks mixed line ending - id: trailing-whitespace # checks for trailing whitespace - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort (python) language_version: '3.11' args: ["--profile", "black", "--filter-files"] - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 24.10.0 hooks: - id: black language_version: '3.11' args: ["--preview"] - repo: https://github.com/hadialqattan/pycln # removes unused imports - rev: v2.3.0 + rev: v2.4.0 hooks: - id: pycln language_version: "3.11"