[CI] Remove unused imports with Ruff to pre-commit config, only to benchmarks/docs/examples folder (#3969)

This commit is contained in:
Brayden Zhong
2025-03-27 22:45:02 -04:00
committed by GitHub
parent 31dfff7da7
commit b149b39353
21 changed files with 13 additions and 48 deletions

View File

@@ -22,6 +22,13 @@ repos:
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
hooks:
- id: ruff
args: [--select=F401, --fixable=F401]
files: ^(benchmark/|docs/|examples/)
exclude: \.ipynb$
- repo: https://github.com/psf/black
rev: 24.10.0
hooks: