Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -13,34 +13,34 @@ ci:
submodules: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.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.17.1"
hooks:
- id: mypy
args:
Expand All @@ -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.34.0"
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
Expand Down