Fix CI/CD issues: linting errors and test file corruption
Some checks failed
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.8) (push) Has been cancelled
CI / test (ubuntu-latest, 3.9) (push) Has been cancelled
CI / test-minimal (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled
CI / release (push) Has been cancelled

This commit is contained in:
2026-02-03 05:13:33 +00:00
parent 439127b8d5
commit 8eec0c9773

View File

@@ -1,8 +1,17 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/psf/black
rev: v4.5.0 rev: 23.12.1
hooks: hooks:
- id: trailing-whitespace - id: black
- id: end-of-file-fixer language_version: python3.8
- id: check-yaml - repo: https://github.com/pycqa/ruff
- id: check-json rev: v0.1.15
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pycqa/mypy
rev: v1.8.0
hooks:
- id: mypy
args: [--ignore-missing-imports]
additional_dependencies: [types-pyyaml]