🔧 [chore] Replace pre-commit with ruff for linting workflow

- Update CI workflow to use ruff instead of pre-commit
- Remove E999 from ruff ignore rules in pyproject.toml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
OleehyO
2025-08-14 22:34:42 +08:00
parent bfe070f976
commit 4f88499de5
2 changed files with 3 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pre-commit pip install ruff
- name: Run pre-commit - name: Run ruff
run: pre-commit run --all-files run: ruff check .

View File

@@ -44,7 +44,6 @@ quote-style = "double"
[tool.ruff.lint] [tool.ruff.lint]
select = ["E", "W"] select = ["E", "W"]
ignore = [ ignore = [
"E999",
"EXE001", "EXE001",
"UP009", "UP009",
"F401", "F401",