jendrikseipp / vulture

Find dead Python code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch to tomli/tomllib for toml parsing

sacsar opened this issue · comments

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.

Sounds good!

A bit more involved than I expected, but the PR is up.