Repository navigation
chore(lint): apply ruff's safe autofixes - #771
Merged
Merged
Conversation
Unused imports, import order, quoted annotations, f-strings and unused noqa comments, from ruff check --fix with F401, I001, UP037, UP032 and RUF100. No __init__.py files, and not rtbtool.py, whose imports are its interactive namespace. mypy clean, tests unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| Security | 1 high |
🟢 Metrics 0 complexity · -9 duplication
Metric Results Complexity 0 Duplication -9
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #771 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 143 143
Lines 14785 14667 -118
======================================
+ Misses 14785 14667 -118 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
One mechanical pass of
ruff check --fixwith F401 (unused imports), I001 (import order), UP037 (quoted annotations), UP032 (f-strings) and RUF100 (unused noqa): 139 files, about 570 findings.Left alone on purpose: every
__init__.py(import order and re-exports can matter there) andbin/rtbtool.py(its star imports and 'unused' imports are the IPython session namespace). Nothing else is mixed in.mypy clean; the local test run is unchanged (the same 19 compiled-extension tests fail in a source worktree as on main).
🤖 Generated with Claude Code