Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
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,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-json
- id: check-toml
Expand All @@ -12,17 +12,17 @@ repos:
args: [--ignore-empty, --ignore-comment-lines, --ignore-missing-eol, --multiline]
exclude: '\s+\\n$'
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
rev: 6.1.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.12.1
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0
hooks:
- id: black
exclude: ^src/kg_api/models/alembic/versions
args: ["-l", "100", "--target-version=py38"]
- repo: https://github.com/PyCQA/flake8
rev: "6.1.0"
rev: "7.3.0"
hooks:
- id: flake8 # C90,E,F,W
exclude: ^src/kg_api/models/alembic
Expand Down Expand Up @@ -51,14 +51,14 @@ repos:
print('run `portry update` to fix')
exit(1)
"
language: python_venv
language: python
additional_dependencies:
- poetry
verbose: True
files: pyproject.toml

- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.10.0
rev: v9.23.0
hooks:
- id: commitlint
stages: [commit-msg]
Expand Down