Skip to content

Pyproject.toml Inline map vs section map #66

Description

@Julien00859

At the moment we produce the following pyproject.toml for the keys license, authors and maintainers:

[[project.authors]]
name = "Julien"
email = "julien@example.com"

[[project.maintainers]]
name = "Julien"
email = "julien@example.com"

[project.license]
file = "LICENSE"

It would be better if we used inline-maps for those keys:

license = {file = "LICENSE"}
authors = [
  {name = "Julien", email = "julien@example.com"},
]
maintainers = [
  {name = "Julien", email = "julien@example.com"}
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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