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 repos:
# Ruff version. - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.10 # Ruff version.
hooks: rev: v0.9.10
# Run the linter. hooks:
- id: ruff # Run the linter.
# Run the formatter. - id: ruff
- id: ruff-format # Run the formatter.
- id: ruff-format