PyChecker warns that __enter__ and __exit__ are not special methods (see PEP 343).
This patch adds signatures for those methods to SPECIAL_METHODS and adds a test that the warnings have gone away.
Patch to add enter and exit to SPECIAL_METHODS.
Log in to post a comment.
Patch to add enter and exit to SPECIAL_METHODS.