Repository navigation
Conversation
- midi_play: drop unused imports; trim just_intonation imports to symbols that are used; add required blank lines between top-level definitions - test_just_intonation: fix E202/E127/E261; remove redundant pytest import under __main__; suppress C901 on the monolithic test_interval - just_intonation: suppress C901 on Chord.__init__ (large dispatcher) Co-authored-by: endolith <endolith@gmail.com>
cursor
Bot
force-pushed
the
cursor/repo-lint-fixes-2589
branch
from
June 12, 2026 04:44
3053af5 to
940ba0f
Compare
This branch has not been deployed
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.
Summary
CI runs flake8 (including undefined-name checks) and pytest. This branch cleans up everything flake8 reported on the current tree so local and CI runs stay green.
Changes
Fraction,randint, and several unusedjust_intonationsymbols). Kept onlyInterval,Pitch,Chord,m3,M3,P4,P5, andP8. Added the blank lines PEP 8 expects between top-level definitions.# utonalinline comment; dropped the redundantimport pytestinside__main__(fixes F811). Added# noqa: C901ontest_intervalbecause splitting that test would be a large behavioral-no-op refactor.# noqa: C901onChord.__init__for the same reason (large branching constructor).Verification
python3 -m flake8 .(full ruleset used in CI’s second step, withoutexit-zero) — 0 issuespytest— 21 passed