-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
C: stakeholderRelates to docformatter stakeholder requested behaviorRelates to docformatter stakeholder requested behaviorP: enhancementFeature that is outside the scope of PEP 257Feature that is outside the scope of PEP 257U: lowA relatively low urgency issueA relatively low urgency issue
Description
I don't know in which formatter I saw this (might have been ruff but can't find it there anymore), but one of them has this really nice feature that minor max-line-length violations are acceptable, if wrapping would result in ugliness. In particular this means that it will
not auto-wrap a comment if the next line would contain just one word. It would either wrap earlier (to have 2-3 words in the new line) or accept that the line will be slightly longer than the usual maximum.
tomasr8
Metadata
Metadata
Assignees
Labels
C: stakeholderRelates to docformatter stakeholder requested behaviorRelates to docformatter stakeholder requested behaviorP: enhancementFeature that is outside the scope of PEP 257Feature that is outside the scope of PEP 257U: lowA relatively low urgency issueA relatively low urgency issue