twolfson/restructuredtext-lint

New check to enforce line length?

Open

#43 建立於 2018年1月16日

在 GitHub 查看
 (3 留言) (4 反應) (0 負責人)Python (21 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (183 star)
PR 合併指標
 (PR 指標待抓取)

描述

I would like to be able to lint my RST files for excessively long lines. Since this is likely to be controversial, the new check might best be ignored by default?

i.e. something similar to the flake8 code E501 for maximum line length, which can be configured at the command line:

  --max-line-length=n   Maximum allowed line length for the entirety of this
                        run. (Default: 79)

I would suggest using the same default line length (and double checking if this counts the new line character or not).

貢獻者指南