peterjc / flake8-black

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

Refactor TOML loading; BLK907 for invalid pyproject.toml #17

Closed peterjc closed 5 years ago

peterjc commented 5 years ago

Similar ideas to #16, but using a dictionary of black.FileMode objects to hold the possible configurations - exactly in the form we will use it when calling black.

This is why I committed 3bfa2dfc365af0ce040436c8fd3a12e0e670bda6 without waiting for another black release (see #7).