chore(*): ruff, ty, pre-commit and make check for config.py

This commit is contained in:
hh
2026-08-28 02:20:36 +02:00
parent ef5adf231a
commit 71af41f35f
7 changed files with 148 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.20
hooks:
- id: ruff-check
types_or: [ python, pyi ]
args: [ --fix ]
- id: ruff-format
types_or: [ python, pyi ]
- repo: local
hooks:
- id: ty
name: ty check
entry: uv run ty check
language: system
types_or: [ python, pyi ]
pass_filenames: false