summaryrefslogtreecommitdiff
path: root/pylint
diff options
context:
space:
mode:
authorStavros Ntentos <133706+stdedos@users.noreply.github.com>2023-02-22 13:44:25 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-22 13:36:32 +0100
commitf54dfd1a09d1dca9730b0a2a18c15a32d52ef9fd (patch)
tree200688582c818fbf3d4bcf5df6522ec15df402d2 /pylint
parentb995af4a2584a99b68a10c1241c14a2a2816ced7 (diff)
downloadpylint-git-f54dfd1a09d1dca9730b0a2a18c15a32d52ef9fd.tar.gz
"Message emitted" improvements caused issues
Wrapping "Message emitted" in monospaced formatting, causes `W1507` (`pylint/checkers/stdlib.py`) to fail on a stray space. Fix that - as it seems to be the only outlier. (Might've been nice for a more formal check in the first place 🙏). Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Diffstat (limited to 'pylint')
-rw-r--r--pylint/checkers/stdlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py
index c9bec3823..e46b5f574 100644
--- a/pylint/checkers/stdlib.py
+++ b/pylint/checkers/stdlib.py
@@ -386,7 +386,7 @@ class StdlibChecker(DeprecatedMixin, BaseChecker):
"By default, the first parameter is the group param, not the target param.",
),
"W1507": (
- "Using copy.copy(os.environ). Use os.environ.copy() instead. ",
+ "Using copy.copy(os.environ). Use os.environ.copy() instead.",
"shallow-copy-environ",
"os.environ is not a dict object but proxy object, so "
"shallow copy has still effects on original object. "