Skip to content

Handle missing project.name field in pyproject.toml #302

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
Similar to #299, we should handle this incorrect pyproject.toml config automatically. We could probably use uv init --bare with the pyproject.toml moved temporarily to a temp directory and then extract the name before adding it back into the original file, to get a consistent name.

Summary of desired enhancement
Handle this missing field automatically.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions