Skip to content

Conversation

@akx
Copy link
Contributor

@akx akx commented Oct 11, 2018

This PR fixes some wonky indentation (there were occasions of non-4-divisible indentation 😱 ) both mechanically (autopep8) and by hand where manually rewrapping code lead to more readable statements. (That, too, could be automated with something like black.)

In addition, there were some duplicate imports, which were cleaned up with isort. A setup.cfg file was added to configure the multi-line import style to match the one most used in the project.

Signed-off-by: Aarni Koskela <akx@iki.fi>
@brian-brazil
Copy link
Contributor

You have a build failure.

akx added 2 commits October 11, 2018 16:27
Signed-off-by: Aarni Koskela <akx@iki.fi>
Signed-off-by: Aarni Koskela <akx@iki.fi>
@akx
Copy link
Contributor Author

akx commented Oct 11, 2018

Ah yeah. Old Pythons don't like trailing commas in argument lists. Fixed.

@brian-brazil brian-brazil merged commit fd11c49 into prometheus:master Oct 11, 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