diff --git a/examples/pylintrc b/examples/pylintrc index af3c764ea7..dd9e3b1770 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -603,7 +603,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace # of finding the hint is based on edit distance. missing-member-hint=yes -# The minimum edit distance a name should have in order to be considered a +# The maximum edit distance a name should have in order to be considered a # similar match for a missing member name. missing-member-hint-distance=1 diff --git a/examples/pyproject.toml b/examples/pyproject.toml index a627fcbf8e..d914258006 100644 --- a/examples/pyproject.toml +++ b/examples/pyproject.toml @@ -533,7 +533,7 @@ ignored-classes = [ "optparse.Values", "thread._local", "_thread._local", "argpa # finding the hint is based on edit distance. missing-member-hint = true -# The minimum edit distance a name should have in order to be considered a +# The maximum edit distance a name should have in order to be considered a # similar match for a missing member name. missing-member-hint-distance = 1 diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index 84ce54a629..e1475fa729 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -956,7 +956,7 @@ class TypeChecker(BaseChecker): "default": 1, "type": "int", "metavar": "", - "help": "The minimum edit distance a name should have in order " + "help": "The maximum edit distance a name should have in order " "to be considered a similar match for a missing member name.", }, ), diff --git a/pylintrc b/pylintrc index 9eaa8cf007..3a96cdc756 100644 --- a/pylintrc +++ b/pylintrc @@ -378,7 +378,7 @@ ignore-on-opaque-inference=yes # of finding the hint is based on edit distance. missing-member-hint=yes -# The minimum edit distance a name should have in order to be considered a +# The maximum edit distance a name should have in order to be considered a # similar match for a missing member name. missing-member-hint-distance=1