Skip to content
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

Run the Python linter more often #22555

Closed
wants to merge 2 commits into from

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Feb 12, 2019

It turns out we have a Python linter! Who knew? Unfortunately, it only ran during validation tests, so you would generally discover this by waiting four hours for CI to validate an important change, only to find that it failed because you forgot to alphabetize your import statements. This was not conducive to healthy blood pressure.

This PR runs the linter during smoke tests moves the linter into test/ so that mistakes will be caught more quickly and frequently. The PR also fixes a number of linter issues in existing Python code.

It was only run during validation tests, so issues have accumulated.
The Python linter has not been run during smoke tests until now, so various issues have accumulated. This change fixes them.
@gottesmm
Copy link
Member

@brentdax I thought we ran this when we smoke tested, no?

@CodaFi
Copy link
Member

CodaFi commented Feb 12, 2019

♥️

@swift-ci please python lint

@beccadax beccadax closed this Apr 13, 2019
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.

None yet

3 participants