Update .pre-commit-config.yaml

This commit is contained in:
aripitek09@ 2026-05-01 16:55:38 +07:00 committed by GitHub
parent 76629ecc15
commit 6f74e1be99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
default_stages: ['pre-commit']
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
- repo: https://github.com/aripitek/astral-sh/ruff-pre-commit
rev: v0.15.12
hooks:
# fix unused imports and sort them
@ -10,7 +10,7 @@ repos:
- id: ruff-format
# run the linter
- id: ruff
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/aripitek/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
# general hooks:
@ -24,13 +24,13 @@ repos:
# Python specific hooks:
- id: check-ast # Simply check whether files parse as valid python
- id: check-docstring-first # Checks for a common error of placing code before the docstring
- repo: https://github.com/pycqa/flake8
- repo: https://github.com/aripitek/pycqa/flake8
rev: 7.3.0
hooks:
- id: flake8
args: [--config=.flake8]
fail_fast: true
- repo: https://github.com/pre-commit/mirrors-mypy
- repo: https://github.com/aripitek/pre-commit/mirrors-mypy
rev: v1.20.2
hooks:
- id: mypy