chore(ci): пин ruff <0.16 — дефолты 0.16.0 уронили CI - #37
Merged
Conversation
…л CI uv.lock в gitignore, CI резолвит свежий ruff каждый прогон. Релиз 0.16.0 добавил в дефолтный набор I001, ASYNC115 и др. — ~170 ошибок по всему репо, любой PR красный без изменений в этих файлах. Под 0.15.x репо чистое. Миграция на 0.16 — LoRa-Bridge-9qw. beads: LoRa-Bridge-sdc Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменилось
Одна строка в
pyproject.toml:ruff>=0.4→ruff>=0.4,<0.16в dev-извлечениях, с комментарием-причиной.Зачем
uv.lockв gitignore, поэтому CI резолвит свежий ruff на каждый прогон. Релиз ruff 0.16.0 (после 4 июля) расширил дефолтный набор правил (I001 сортировка импортов, ASYNC115 и др.) — ~170 ошибок по всему репо, любой PR теперь красный независимо от диффа (первым попал #36: ruff-джоба падает в т.ч. наdocs/gen_pages.py, которого дифф не касался).Факты: зелёный CI main от 4 июля ставил ruff 0.15.20, красный прогон #36 — 0.16.0; под
uvx ruff@0.15.20 checkрепо чистое.Проверено
uv run --extra dev ruff --version→ 0.15.22;ruff check→ All checks passed!pytest -q→ 361 passed.Ревьюеру
--fix145 авто-фиксов, ~25 руками, возможно явныйselect) — issue LoRa-Bridge-9qw.beads: LoRa-Bridge-sdc
🤖 Generated with Claude Code