mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-06 16:03:36 -05:00
[PR #824] [CLOSED] Add Pycycle Command-Line-Tool #736
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/824
Author: @bndr
Created: 1/30/2017
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
5aad030Add Pycycle Command-Line-Tool📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
Code with circular imports in python often raises an obscure Exception (ImportError: Cannot import name X) which tells nothing about the cycle.
I have come across this problem several times, and depending on the project size it becomes problematic to identify where the problem is. This tool shows you the chain of the imports that are causing the problem, after that is up to developer to fix it e.g. move the imports to the bottom, or move the imports inside some function.
What's the difference between this Python project and similar ones?
There are none.
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.