Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

False negative with BadModuleAttributeUseLinter and arbitrary depth from import wildcard #33

Closed
mschwager opened this issue Nov 11, 2019 · 0 comments

Comments

@mschwager
Copy link
Collaborator

Currently BadModuleAttributeUseLinter will handle single-depth wildcard imports, e.g. from ... import *, but it's missing arbitrary depth imports. E.g.

from cryptography.hazmat import *
primitives.hashes.MD5("test")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant