PyCQA/flake8-bugbear
`B950` ignores `max-doc-length` flake8 configuration option
Offen
#285 geöffnet am 18.09.2022
enhancementhelp wanted
Repository-Metriken
- Stars
- (1.116 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 4h 17m) (3 gemergte PRs in 30 T)
Beschreibung
flake8 has a configuration option max-doc-length, which configures the maximum line length for docstrings. flake8-bugbear currently ignores this setting.
It makes sense to limit line length of code to ~80-88 for smaller screen sizes, diffs etc. Especially within tests though, limiting docstring line length to the same value can cause very awkward docstring formatting, severely limiting readability.