False Negative function-redefined when function named with leading underscore #9894
Labels
False Negative 🦋
No message is emitted but something is wrong with the code
Good first issue
Friendly and approachable by new contributors
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Bug description
When defining a function that is named with a leading underscore, Pylint does not raise the function-redefined error as expected.
E.g.:
Configuration
defaults
Command used
Pylint output
Expected behavior
E0102: method already defined line 86 (function-redefined)
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: