Skip to content

Replace pycodestyle with ruff in CI#43

Merged
igormilovanovic merged 3 commits intomasterfrom
ci/ruff-replace-pycodestyle-31
Feb 20, 2026
Merged

Replace pycodestyle with ruff in CI#43
igormilovanovic merged 3 commits intomasterfrom
ci/ruff-replace-pycodestyle-31

Conversation

@igormilovanovic
Copy link
Owner

Summary

  • Replaced pycodestyle>=2.11.0 with ruff>=0.4.0 in test-requirements.txt
  • Updated CI lint step from pycodestyle pyhosts/ --max-line-length=120 to ruff check pyhosts/
  • Ruff config in pyproject.toml already covers pycodestyle, pyflakes, isort, bugbear, comprehensions, and pyupgrade

Closes #31

Test plan

  • All 64 tests pass locally
  • CI will verify ruff passes

🤖 Generated with Claude Code

@igormilovanovic igormilovanovic force-pushed the ci/ruff-replace-pycodestyle-31 branch from a67149d to 374a991 Compare February 20, 2026 00:22
igormilovanovic and others added 3 commits February 20, 2026 08:48
Ruff is faster and more comprehensive. Configuration already exists in
pyproject.toml covering pycodestyle, pyflakes, isort, bugbear, and more.

Closes #31

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Auto-fix import sorting, deprecated open mode, IOError → OSError,
quoted type annotations, and unnecessary f-string prefix.
Add UP038 to ruff ignore list (unsafe isinstance union fix).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@igormilovanovic igormilovanovic force-pushed the ci/ruff-replace-pycodestyle-31 branch from 04fa796 to 48bcd20 Compare February 20, 2026 18:43
@igormilovanovic igormilovanovic merged commit 00db246 into master Feb 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace pycodestyle with ruff in CI

1 participant