diff options
author | Lucas Cimon <925560+Lucas-C@users.noreply.github.com> | 2023-05-01 20:36:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 18:36:49 +0000 |
commit | b35f008a3e10c8444be5704e9ab72372bd67b237 (patch) | |
tree | 18423c55aad6ffa84c69e7f343208c840b0b3aff | |
parent | f8288842e58a8b6007ff15ab380c84b00eb9b7a3 (diff) | |
download | pylint-git-b35f008a3e10c8444be5704e9ab72372bd67b237.tar.gz |
[Doc] Create implicit-str-concat/details.rst (#8648)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
-rw-r--r-- | doc/data/messages/i/implicit-str-concat/details.rst | 15 |
1 files changed, 15 insertions, 0 deletions
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 |