lordmauve / flake8-html

Generate HTML reports of flake8 violations
Other
51 stars 17 forks source link

--format=html is incompatible with flake8-colors #11

Open Liam-Deacon opened 6 years ago

Liam-Deacon commented 6 years ago

Description

format=html parameter is incompatible with the flake8-colors package (which also has a format parameter for coloured output). Would it be possible to change this parameter name to allow both plugin's to work side by side?

lordmauve commented 6 years ago

Hmm, its not easy, as --format is flake8's option and chooses which format plugin to delegate to. So flake8-html won't be invoked unless you pass --format=html.

But maybe flake8-html could add an option to delegate to another formatter to produce the console output.