Skip to content

Switch to tomli/tomllib for toml parsing #339

@sacsar

Description

@sacsar

Due to uiri/toml#270, vulture won't run for projects with a pyproject.toml that contain an array with mixed types. According to python-poetry/poetry#7094 (comment), this is not an issue in the tomllib in Python 3.11+ or its backport (https://github.com/hukkin/tomli).

It looks like this should be a quick swap. I'll send a PR along when I have a moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions