PyCQA/flake8-bugbear

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

オープン

#285 opened on 2022/09/18

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Python (116 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,116 個のスター)
PR merge metrics
 (平均マージ 4h 17m) (30d で 3 merged PRs)

説明

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.

コントリビューターガイド