🔧 [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:
6
.github/workflows/python-lint.yml
vendored
6
.github/workflows/python-lint.yml
vendored
@@ -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 .
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user