peterjc / flake8-black

flake8 plugin to run black for checking Python coding style
MIT License
166 stars 10 forks source link

Explicitly depend on the same TOML parser as Black #33

Closed brianhelba closed 2 years ago

brianhelba commented 3 years ago

Black has switched from "toml" to "tomli", so also using "tomli" here should ensure that this tool can read the same TOML config files.

Since this does directly import and use the "tomli" package, it should be an explicit dependency.

Fixes #32.

brianhelba commented 3 years ago

Hey @peterjc . I'm hoping you can review, merge, and issue a release for this PR (or an equivalent fix) ASAP. Until then, the latest release of flake8-black is broken.

brianhelba commented 3 years ago

For this PR, I've run the tests on my local machine, and they pass.