cleanup: remove orphaned comments referencing invisible context#1515
Closed
lb1192176991-lab wants to merge 1 commit into
Closed
cleanup: remove orphaned comments referencing invisible context#1515lb1192176991-lab wants to merge 1 commit into
lb1192176991-lab wants to merge 1 commit into
Conversation
- Remove dangling '# Justification: ...' comment after the module docstring in case_validator.py (leftover review note). - Remove 'This replaces the definitions/ directory.' migration sentence from definitions.py docstring (the directory no longer exists in the repo, so the note refers to invisible history). Fixes MFlowCode#1500.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1515 +/- ##
=======================================
Coverage 60.64% 60.64%
=======================================
Files 73 73
Lines 20213 20213
Branches 2936 2936
=======================================
Hits 12259 12259
Misses 5966 5966
Partials 1988 1988 ☔ View full report in Codecov by Sentry. 🚀 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.
What
Removes two stale comments that reference context no longer visible in the repository:
case_validator.py: Dangling# Justification: Comprehensive validator covering all MFC parameter constraintscomment after the module docstring — a leftover review note.params/definitions.py:"This replaces the definitions/ directory."— documents a past migration; that directory was already removed from the repo, so the note refers to invisible history.Why
Dead comments create noise for new readers and suggest maintenance that is no longer happening.
Testing
Comment-only changes — no behavior impact. Python imports and module behavior are unaffected.
Fixes #1500.