apply ruff linter

This commit is contained in:
Aiden Dai
2025-03-13 13:58:18 +08:00
parent f21b9a2e84
commit 879b8e2ac7

View File

@@ -1,8 +1,9 @@
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.10
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.10
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format