8000 Enable flake8 import lint checking by bz2 · Pull Request #327 · prometheus/client_python · GitHub
[go: up one dir, main page]

Skip to content

Enable flake8 import lint checking #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 15, 2018
Merged

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
0