Skip to content

Commit 93a5413

Browse files
mdzclaude
andcommitted
Replace black/flake8 with ruff in CI and dependencies
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 57347eb commit 93a5413

3 files changed

Lines changed: 31 additions & 131 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Add uv to PATH
2424
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
2525
- name: Install all dependencies
26-
run: uv sync --extra dev
27-
- name: Lint with flake8
28-
run: uv run flake8 smarttub tests --show-source --statistics
26+
run: uv sync --dev
27+
- name: Lint with ruff
28+
run: uv run ruff check smarttub tests
2929
- name: Test with pytest
3030
run: uv run pytest --cov-fail-under=100 --cov-report=term-missing

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ dev = [
1919
"pytest-cov",
2020
"aresponses",
2121
"pre-commit",
22-
"black",
23-
"flake8",
22+
"ruff",
2423
"twine"
2524
]
2625

0 commit comments

Comments
 (0)