Skip to content

Conversation

@bz2
Copy link
Contributor

@bz2 bz2 commented Oct 14, 2018

With #325 by @akx has landed, the flake8 rules on import style lint can be enabled.

Combined the isort setup.cfg into tox.ini and added a couple of extra config options so it passes the default flake8 rules.

As it wasn't very obvious that there was existing lint tooling #326 updates CONTRIBUTING.md to point it out.

bz2 added 2 commits October 14, 2018 14:50
Signed-off-by: Martin Packman <martin@zegami.com>
Combine isort config into tox.ini and tweak the rules so that the
standard flake8 import rules pass.

Rerun isort to adjust a few of specific cases for new rules.

Signed-off-by: Martin Packman <martin@zegami.com>
@brian-brazil brian-brazil merged commit 428cf1b into prometheus:master Oct 15, 2018
@brian-brazil
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants