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
Set SectionCommentsFixer priority to 54 to satisfy run-order constraints #9377
We need to set a safe priority for SectionCommentsFixer so its run order satisfies constraints relative to existing built-in fixers.
Requirements
Must run before: IndentationTypeFixer (priority 50), NoExtraBlankLinesFixer (-20), StatementIndentationFixer (-3)
Must run after: ClassAttributesSeparationFixer (priority 55), ModifierKeywordsFixer (priority 56), OrderedClassElementsFixer (priority 65)
Analysis
To meet the constraints we need priority p such that:
p > 50 (to run before IndentationTypeFixer)
p < 55 (to run after ClassAttributesSeparationFixer)
Allowed integer priorities: 51, 52, 53, 54.
Recommendation
Set priority to 54. Rationale:
54 is the highest number in the allowed range so it runs after ClassAttributesSeparationFixer@55 and before IndentationTypeFixer@50.
Choosing the highest available value preserves the requested ordering while leaving room for adjacent fixers to be inserted between 54 and 55 if needed in the future.
Activity
Sesquipedalian commentedon Aug 7, 2026
Sounds like a good idea to me.
jdarwood007 commentedon Aug 8, 2026
This is independent of #9265 correct?
live627 commentedon Aug 9, 2026
that's right