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