You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ruff SIM102: nested-if findings in core/aperture.py and core/detector.py #491
good first issueAccessible entry point for new community contributorspriority: lowUI tweaks, documentation, and minor optimizationspythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior
Part of the ruff lint baseline cleanup (SIM102 -- nested if that could collapse into one if ... and ...). Chunked out of the larger sub-issue this replaces, so it's a manageable, self-contained pickup.
Findings
gitgalaxy/core/aperture.py:429 (SIM102) -- Use a single if statement instead of nested if statements
gitgalaxy/core/aperture.py:446 (SIM102) -- Use a single if statement instead of nested if statements
gitgalaxy/core/aperture.py:502 (SIM102) -- Use a single if statement instead of nested if statements
gitgalaxy/core/aperture.py:514 (SIM102) -- Use a single if statement instead of nested if statements
gitgalaxy/core/detector.py:1457 (SIM102) -- Use a single if statement instead of nested if statements
gitgalaxy/core/detector.py:1464 (SIM102) -- Use a single if statement instead of nested if statements
Fix in a small PR, removing resolved entries from tests/ruff_audit_baseline.json (see tests/ruff_audit.py's module docstring for the regen command).
good first issueAccessible entry point for new community contributorspriority: lowUI tweaks, documentation, and minor optimizationspythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior
Activity