8000 authors list does not emit correctly · Issue #288 · tox-dev/pyproject-fmt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

authors list does not emit correctly #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EdAyers opened this issue Feb 25, 2025 · 2 comments
Open

authors list does not emit correctly #288

8000 EdAyers opened this issue Feb 25, 2025 · 2 comments

Comments

@EdAyers
Copy link
EdAyers commented Feb 25, 2025
uv tool install pyproject-fmt
pyproject-fmt
>>> pyproject-fmt (2.5.0)

My pyproject file:

[project]
name = "my-app"
description = "My app"
version = "1.13.1"
requires-python = "<3.14,>=3.12"
[[project.authors]]
name = "Joe Blogs"
email = "whiz.bang@example.com"

After running pyproject-fmt pyproject.toml

[project]
name = "my-app"
version = "1.13.1"
description = "My app"
authors.email = "whiz.bang@example.com"
authors.name = "Joe Blogs"
[[project.authors]]

classifiers = [
  "Programming Language :: Python :: 3 :: Only",
  "Programming Language :: Python :: 3.12",
  "Programming Language :: Python :: 3.13",
]
requires-python = "<3.14,>=3.12"

Note the remaining broken [[project.authors]] field.

toml spec for array of tables: https://toml.io/en/v1.0.0#array-of-tables

@EdAyers EdAyers changed the title mangled file with authors list authors list does not emit correctly Mar 11, 2025
@cclauss
Copy link
Contributor
cclauss commented Apr 17, 2025

Is this still happening? If so, please consider reopening this issue on the main repo:

@EdAyers
Copy link
Author
EdAyers commented Apr 22, 2025

still happening on 2.5.1
tox-dev/toml-fmt#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0