summaryrefslogtreecommitdiff
path: root/pylint/config
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-06-12 17:32:48 -0400
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-06-23 07:09:27 +0200
commitf105b3d13eb067ebccf1ad3b688419f12ed56824 (patch)
treec6511e64b5ead98e5e981a9441ac1bbf7ca0d403 /pylint/config
parent955819bf8bcdfaac3e8d25c6a85a1a58c25f0a07 (diff)
downloadpylint-git-f105b3d13eb067ebccf1ad3b688419f12ed56824.tar.gz
Fix typo in option processing
Diffstat (limited to 'pylint/config')
-rw-r--r--pylint/config/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/config/utils.py b/pylint/config/utils.py
index a5d7b4d3d..bd6146336 100644
--- a/pylint/config/utils.py
+++ b/pylint/config/utils.py
@@ -266,7 +266,7 @@ def _preprocess_options(run: Run, args: Sequence[str]) -> list[str]:
raise ArgumentPreprocessingError(f"Option {option} expects a value")
value = args[i]
elif not takearg and value is not None:
- raise ArgumentPreprocessingError(f"Option {option} doesn't expects a value")
+ raise ArgumentPreprocessingError(f"Option {option} doesn't expect a value")
cb(run, value)
i += 1