PyCQA/flake8-bugbear

`B950` ignores `max-doc-length` flake8 configuration option

開放

#285 建立於 2022年9月18日

 (3 則留言) (0 個反應) (0 位負責人)Python (116 個分叉)github user discovery
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.

貢獻者指南