devmanorg / fiasko_bro

Yet another static python code validator
MIT License
26 stars 9 forks source link

Execute flake8 with fiasko_bro #75

Open Melevir opened 6 years ago

Melevir commented 6 years ago

if VALIDATOR_SETTINGS['is_user_flake8'] == True (default is true), then execute flake8 validation on path with path to setup.cfg if exists. Errors from flake8 should be if form of ('flake8: E221', 'for example, ...') (error type with prefix and no comment) and should be grouped per error type (one line per error).

vergeev commented 6 years ago

I think I'm going to use flake's Python API. But: Flake8 3.0.0 presently does not have a public, stable Python API. according to this.

More specificly, I'm trying to make use of the legacy API.

vergeev commented 6 years ago

As I described in the Slack chat, this may not be possible to accomplish in a clean way.

It seems to me our choices are:

Since I don't like either of those, I am proposing to close the issue.