PyCQA/flake8-bugbear
`B950` ignores `max-doc-length` flake8 configuration option
开放
#285 创建于 2022年9月18日
enhancementhelp wanted
仓库指标
- 星标
- (1,116 个星标)
- PR 合并指标
- (平均合并 4小时 17分钟) (30 天内合并 3 个 PR)
描述
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.