diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-01-30 15:59:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-30 14:59:23 +0000 |
| commit | 4036863950f8ad04d66b507ee3d851cec1dc066b (patch) | |
| tree | 282a8b4068dc7ad9c4ae198ad14a3caeeca57b37 /doc/data/messages/l | |
| parent | df85f7a1b8d441555483ed8cc7f6ea89fb4803eb (diff) | |
| download | pylint-git-4036863950f8ad04d66b507ee3d851cec1dc066b.tar.gz | |
[doc] Make sure that doc examples are of a reasonable length (#8135)
And upgrade existing unreasonable length. Reading ease is drastically
reduced on read the doc after 103 chars (Because of horizontal scrolling)
Diffstat (limited to 'doc/data/messages/l')
| -rw-r--r-- | doc/data/messages/l/line-too-long/bad.py | 3 | ||||
| -rw-r--r-- | doc/data/messages/l/line-too-long/pylintrc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/data/messages/l/line-too-long/bad.py b/doc/data/messages/l/line-too-long/bad.py index 4b82d8cd2..94e9042a3 100644 --- a/doc/data/messages/l/line-too-long/bad.py +++ b/doc/data/messages/l/line-too-long/bad.py @@ -1 +1,2 @@ -FRUIT = ["apricot", "blackcurrant", "cantaloupe", "dragon fruit", "elderberry", "fig", "grapefruit"] # [line-too-long] +# +1: [line-too-long] +FRUIT = ["apricot", "blackcurrant", "cantaloupe", "dragon fruit", "elderberry", "fig", "grapefruit", ] diff --git a/doc/data/messages/l/line-too-long/pylintrc b/doc/data/messages/l/line-too-long/pylintrc new file mode 100644 index 000000000..81ee5451e --- /dev/null +++ b/doc/data/messages/l/line-too-long/pylintrc @@ -0,0 +1,2 @@ +[MAIN] +max-line-length=100 |
