PyCQA/flake8-bugbear
`B950` ignores `max-doc-length` flake8 configuration option
Aberta
#285 aberto em 18 de set. de 2022
enhancementhelp wanted
Métricas do repositório
- Stars
- (1.116 estrelas)
- Métricas de merge de PR
- (Mesclagem média 4h 17m) (3 fundiu PRs em 30d)
Description
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.