peterjc / flake8-black

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

Catch bad TOML files; allow using no TOML file #14

Closed peterjc closed 5 years ago

peterjc commented 5 years ago

Builds on #11, adds new BLK997 if a pyproject.toml file is invalid, allows using flake8 --black-config '-' ... to mean ignore any pyproject.toml file.

Adds explicit failure during configuration parsing for specified TOML file missing (#12) or invalid, although currently an ugly traceback.

peterjc commented 5 years ago

Strange, github is not yet showing the updated branch with 3 commits...