Skip to content

application-import-names should fall back to project.name if tool.poetry.name is not specified #233

@bkeryan

Description

@bkeryan

Using poetry-plugin-migrate to migrate from Poetry 1.x to Poetry 2.x moves the project name from tool.poetry.name to project.name. The code in ni-python-styleguide for querying application-import-names does not fall back to project.name, so this changes how imports are sorted.

Workaround: specify application-import-names

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions