You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(installed both pylint and astroid from git to check)
The text was updated successfully, but these errors were encountered:
mathieui
changed the title
False positive on E1102 (not-callable) for a perfectly normal methods called prev or next
False positive on E1102 (not-callable) for methods called prev or next
Mar 13, 2021
Indeed. I was mostly focused on the prev() which did not appear in my search before submitting the issue, but it certainly looks like a duplicate of both.
Steps to reproduce
(failing CI job on non-minimal code)
It took me a while to isolate a minimal use case, from my repeated testing:
prev()
andnext()
typing
module is importedGiven a file
test.py
:Current behavior
Result of
pylint -E test.py
:Expected behavior
No error.
pylint --version output
Result of
pylint --version
output:(installed both pylint and astroid from git to check)
The text was updated successfully, but these errors were encountered: