False Positives PY-W2000

Hi.

Last week I reported a number of false positives on PY-W2000 (see here). These happen if you comply with PEP8 and put your __all__ before the imports, i.e.

__all__ = ('MyClass',)

from .my_module import MypClass  # will be reported as unused

The last times I reported false positives, you guys where lightning fast in fixing them :laughing: So I just wanted to kindly ask whether it’s worth adding custom ignore rules for these for some time or if a fix will deployed in the next days anyway :slight_smile:

Hey @Bibo-Joshi,

This fix is being worked on, and we would be rolling it out by tomorrow. You won’t need to add a custom ignore rule for this.
Apologies for the delay.

1 Like