Repository navigation
Fix E402/RUF001/RUF003 lint findings (baseline cleanup) - #511
squid-protocol merged 2 commits into
Conversation
- signal_processor.py: move gitgalaxy.standards imports to top of file (E402) - llm_recorder.py: suppress RUF001 on intentional information-source emoji in output string - language_standards.py: replace ambiguous curly apostrophe with straight quote in comment (RUF003) - Remove the four now-resolved entries from tests/ruff_audit_baseline.json (confirmed via python tests/ruff_audit.py --ci) Part of squid-protocol#469 Fix E402/RUF001/RUF003 lint findings (baseline cleanup)
6002482 to
f9885fa
Compare
# Conflicts: # tests/ruff_audit_baseline.json
|
Thanks for this, Ibrahim — all three fixes are the right call, and I appreciate that you actually verified the baseline locally with The conflict here wasn't anything on your end: two of my own PRs landed on Should be green and mergeable now. Thanks for the contribution! |
|
Thanks for handling the baseline regen and for the detailed explanation makes sense given the timing with your other PRs. Glad the fixes landed clean. Happy to help again if anything else comes up. |
Part of #469
Fixes the four findings listed in the sub-issue:
gitgalaxy/metrics/signal_processor.py:30/:31— E402, moved the twogitgalaxy.standardsimports to the top of the file, above theDirectoryGroupDataclass definition.gitgalaxy/recorders/llm_recorder.py:375— RUF001, added# noqa: RUF001since the ℹ️ character is intentional UI/output formatting (paired with ✅
used elsewhere in the same output), not a typo.
gitgalaxy/standards/language_standards.py:5899— RUF003, replaced theambiguous curly apostrophe with a straight one in the comment.
Also removed these four now-resolved entries from
tests/ruff_audit_baseline.json. Verified locally withpython tests/ruff_audit.py --ci: no new findings, no regressions,148-finding baseline confirmed clean.