Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,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

Expand Down
2 changes: 1 addition & 1 deletion examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,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

Expand Down
2 changes: 1 addition & 1 deletion pylint/checkers/typecheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ class TypeChecker(BaseChecker):
"default": 1,
"type": "int",
"metavar": "<member hint edit distance>",
"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.",
},
),
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading