diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c80ebb6..c2354d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ default_install_hook_types: [pre-commit] -default_stages: [commit, push] +default_stages: [pre-commit, pre-push] default_language_version: python: python3.11 ci: @@ -13,34 +13,34 @@ ci: submodules: false repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace files: ^backend/ - repo: https://github.com/psf/black - rev: 24.3.0 + rev: 25.1.0 hooks: - id: black language_version: python3.11 args: - --config=backend/pyproject.toml - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 6.0.1 hooks: - id: isort name: isort (python) args: - --settings-path=backend/pyproject.toml - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.4.1 hooks: - id: codespell additional_dependencies: - tomli - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.9.0" + rev: "v1.16.1" hooks: - id: mypy args: @@ -52,7 +52,7 @@ repos: files: \.[jt]sx?$ types_or: [css, javascript] - repo: https://github.com/pre-commit/mirrors-eslint - rev: "v9.0.0-rc.0" + rev: "v9.30.1" hooks: - id: eslint files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx