twolfson/restructuredtext-lint

New check to enforce line length?

Open

#43 aperta il 16 gen 2018

Vedi su GitHub
 (3 commenti) (4 reazioni) (0 assegnatari)Python (21 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (183 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor