2 years ago

#65462

test-img

BayerSe

Allow import from the original module only

Suppose I have three modules:

a.py

class A: ...

b.py

from a import A

c.py

from b import A

Is there some tool that flags the import in c.py, as it is a re-import from the original module?

python

lint

pre-commit-hook

0 Answers

Your Answer

Accepted video resources