From b35f008a3e10c8444be5704e9ab72372bd67b237 Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Mon, 1 May 2023 20:36:49 +0200 Subject: [Doc] Create implicit-str-concat/details.rst (#8648) Co-authored-by: Pierre Sassoulas --- doc/data/messages/i/implicit-str-concat/details.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/data/messages/i/implicit-str-concat/details.rst diff --git a/doc/data/messages/i/implicit-str-concat/details.rst b/doc/data/messages/i/implicit-str-concat/details.rst new file mode 100644 index 000000000..c1e136183 --- /dev/null +++ b/doc/data/messages/i/implicit-str-concat/details.rst @@ -0,0 +1,15 @@ +By default, detection of implicit string concatenation of line jumps is disabled. +Hence the following code will not trigger this rule: +Hence the following code will not trigger this rule: + +.. code-block:: python + + SEQ = ('a', 'b' + 'c') + +In order to detect this case, you must enable `check-str-concat-over-line-jumps`: + +.. code-block:: toml + + [STRING_CONSTANT] + check-str-concat-over-line-jumps = yes -- cgit v1.2.1