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).

贡献者指南