Skip to content

Corrupts lists. #306

@matthewdeanmartin

Description

@matthewdeanmartin

this toml

[project]
name = "troml-dev-status"
requires-python = ">=3.9"
classifiers = ["Development Status :: 3 - Alpha","Environment :: Console", "Framework :: Pydantic", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.15", "Topic :: Software Development :: Quality Assurance"]

turns into

[project]
name = "troml-dev-status"
classifiers =  ]

with this command

pyproject-fmt pyproject2.toml

toml==0.10.2
tomli==2.2.1
tomlkit==0.13.3
❯ pyproject-fmt --version
pyproject-fmt (2.6.0)

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