bitter-ability-32190
11/19/2021, 9:51 PMpylint
needs transitive deps (change a.py
and c.py
should see it)
# a.py
A = NotImplemented
# b.py
from .a import A
# c.py
from .b import A
def foo():
raise A
$ pylint c.py
...
c.py:4: [E0702(raising-bad-type), foo] Raising NotImplementedType while only classes or instances are allowed