From 879b8e2ac72f1a909a5c63f8b7af7bb3495a734f Mon Sep 17 00:00:00 2001 From: Aiden Dai Date: Thu, 13 Mar 2025 13:58:18 +0800 Subject: [PATCH] apply ruff linter --- .pre-commit-config.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6198a25..3c8cb89 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 \ No newline at end of file +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