Is there a way to get pycharms hinting to ignore a decorator? Follow
Answered
When decorators are applied to classes, pycharm gets a little confused about the interface.
Is there some kind of ignore/pragma that can be added or setting to adjust so that pycharm will ignore decorators that I tell it don't change the class they are applied to? I don't need it to do anything smart with the decorator, just pretend it doesn't exist for the sake of warnings.
Alternately: Is there some side effect of decorators that I don't know about that effects attribute lookup and pycharm is correctly indicating that something like __getattr__ has been effected?
Please sign in to leave a comment.
Hi,
There is a known issue with it https://youtrack.jetbrains.com/issue/PY-30190, feel free to vote and leave comments.