summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pylint/config/option_manager_mixin.py2
-rw-r--r--pylint/lint/pylinter.py2
-rw-r--r--pylint/testutils/configuration_test.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/pylint/config/option_manager_mixin.py b/pylint/config/option_manager_mixin.py
index e97c25dbf..13938feae 100644
--- a/pylint/config/option_manager_mixin.py
+++ b/pylint/config/option_manager_mixin.py
@@ -277,7 +277,7 @@ class OptionsManagerMixIn:
try:
self._parse_toml(config_file, parser)
except toml.TomlDecodeError as e:
- self.add_message("conf-parse-error", line=0, args=str(e))
+ self.add_message("config-parse-error", line=0, args=str(e))
else:
# Use this encoding in order to strip the BOM marker, if any.
with open(config_file, encoding="utf_8_sig") as fp:
diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py
index 254a5c2f4..9b2048894 100644
--- a/pylint/lint/pylinter.py
+++ b/pylint/lint/pylinter.py
@@ -101,7 +101,7 @@ MSGS = {
"F0011": (
"error while parsing the configuration: %s",
"conf-parse-error",
- "Used when an exception occurred while parsing the configuration given.",
+ "Used when an exception occurred while parsing a pylint configuration file.",
),
"I0001": (
"Unable to run raw checkers on built-in module %s",
diff --git a/pylint/testutils/configuration_test.py b/pylint/testutils/configuration_test.py
index 998280974..bff79ee05 100644
--- a/pylint/testutils/configuration_test.py
+++ b/pylint/testutils/configuration_test.py
@@ -86,8 +86,8 @@ def get_expected_output(
"""Get the expected output of a functional test."""
exit_code = 0
msg = (
- "we expect a single file of the form 'filename.32.out' with 'filename' the "
- "stem of the configuration file, and '32' the expected error code."
+ "We expect a single file of the form 'filename.32.out' where 'filename' represents "
+ "the name of the configuration file, and '32' the expected error code."
)
possible_out_files = get_related_files(configuration_path, suffix_filter="out")
if len(possible_out_files) > 1: