Skip to content

Conversation

@taus-semmle
Copy link
Contributor

Fixes #2125.
I also added a test case for one (of the many) instances that appeared on LGTM.com.

@taus-semmle taus-semmle requested a review from RasmusWL October 22, 2019 09:03
Copy link
Member

@RasmusWL RasmusWL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks plausible to me 😉

Could you add the test-case we talked about with

from bar.foo import foo
import baz
p = 1

that didn't seem to work when running through python?

@taus-semmle taus-semmle force-pushed the python-cyclic-import-package-fp branch from f0c5317 to 32de65c Compare October 22, 2019 13:11
@tausbn
Copy link
Contributor

tausbn commented Oct 22, 2019

Done.

@RasmusWL RasmusWL merged commit f1004b1 into github:master Oct 25, 2019
@tausbn tausbn deleted the python-cyclic-import-package-fp branch February 12, 2021 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LGTM.com - false positive for "Module level cyclic import"

3 participants