This commit is contained in:
deng
2025-09-04 10:41:17 +08:00
parent aadd043e9d
commit 4ff430d2c3
5 changed files with 1382 additions and 1 deletions

19
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,19 @@
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-yaml
- id: check-docstring-first
- repo: local
hooks:
- id: ruff
name: ruff
entry: ruff check .
language: python
types: [python]
always_run: true