-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not catching cycles in Django project #3
Comments
Thanks for reporting! |
This should be fixed in version 0.0.5. I added some test cases for relative imports here: https://github.com/bndr/pycycle/tree/master/tests/_projects/relative_imports. Let me know if this solves your issue, so I can close it. |
Cool @bndr. But now there might be another problem then. I've tested locally with full imports but pasted the example with relative (didn't know it would make a difference). Let me update it and test for both cases and report back to you. |
It's not picking for both cases. I'm running from the root of the project with the command: I can see it enters
|
Are you on windows? Can you post your pycycle --version output, should be 0.0.6 Can you provide a small test project against which I can verify the fix? Very much appreciate your help. |
I tested in a Django project with a pretty common circular import situation and it couldn't catch it:
myapp/models.py
myapp/managers.py
The text was updated successfully, but these errors were encountered: