feat: Upgrade to uv and Python 3.12
Test and coverage / build (push) Failing after 4m23s

This commit is contained in:
2026-06-27 22:34:50 +03:00
parent db1f6f421a
commit fd88aabe46
17 changed files with 749 additions and 60 deletions
+33 -16
View File
@@ -1,22 +1,39 @@
repos:
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
- id: black
args: [--line-length=80, --target-version=py38]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
- repo: local
hooks:
- id: ruff-check
name: ruff check
entry: uv run ruff check --fix
language: system
types_or: [python, pyi]
- id: ruff-format
name: ruff format
entry: uv run ruff format
language: system
types_or: [python, pyi]
- id: export-requirements
name: export requirements.txt
entry: uv export --format requirements-txt --no-dev --no-hashes --no-header --no-annotate --frozen --output-file requirements.txt
language: system
pass_filenames: false
files: ^(pyproject\.toml|uv\.lock)$
- id: check-yaml
name: check yaml
entry: uv run check-yaml
language: system
types: [yaml]
- id: end-of-file-fixer
name: end of file fixer
entry: uv run end-of-file-fixer
language: system
types: [text]
- id: trailing-whitespace
name: trailing whitespace
entry: uv run trailing-whitespace-fixer
language: system
types: [text]
- id: check-json
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
args: ["--filter-files" ]
name: check json
entry: uv run check-json
language: system
types: [json]