From 4ef9e42afafb874c70b7a3a423d8c8ec6cc74ab0 Mon Sep 17 00:00:00 2001 From: Mark Byrne Date: Tue, 24 May 2022 23:06:04 +0200 Subject: [PATCH] Add documentation examples for `line-too-long`. --- doc/data/messages/l/line-too-long/bad.py | 1 + doc/data/messages/l/line-too-long/good.py | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 doc/data/messages/l/line-too-long/bad.py create mode 100644 doc/data/messages/l/line-too-long/good.py diff --git a/doc/data/messages/l/line-too-long/bad.py b/doc/data/messages/l/line-too-long/bad.py new file mode 100644 index 0000000000..4b82d8cd25 --- /dev/null +++ b/doc/data/messages/l/line-too-long/bad.py @@ -0,0 +1 @@ +FRUIT = ["apricot", "blackcurrant", "cantaloupe", "dragon fruit", "elderberry", "fig", "grapefruit"] # [line-too-long] diff --git a/doc/data/messages/l/line-too-long/good.py b/doc/data/messages/l/line-too-long/good.py new file mode 100644 index 0000000000..091c8a38ef --- /dev/null +++ b/doc/data/messages/l/line-too-long/good.py @@ -0,0 +1,9 @@ +FRUIT = [ + "apricot", + "blackcurrant", + "cantaloupe", + "dragon fruit", + "elderberry", + "fig", + "grapefruit", +]