+
Skip to content

Consider analyze-graph for packages and producing graph? #13431

@NeilGirdhar

Description

@NeilGirdhar

My Graph-Imports package has been a useful tool in my development. Now that Ruff has ruff analyze graph, it could be extended to supplant my tool if there's a desire. Suggestions:

  • Add a --package flag to switch from producing a graph of module imports to package imports (take the union over every module within a package?)
  • Add a --output_image flag to produce an actual image of the graph rather than text?

I realize this may be out of scope, but I thought I'd suggest it since it might be easy to do. (The source for graph-imports is quite short: https://github.com/NeilGirdhar/graph_imports/blob/main/graph_imports/__init__.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzeRelated to Ruff analyze functionalityhelp wantedContributions especially welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载