Skip to content

Fixed code style issues reported by python-lint. #9998

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 1 commit into from
May 31, 2017

Conversation

palimondo
Copy link
Contributor

This PR fixes coding style issues reported by python-lint, that were introduced in #8610 by @compnerd and #9474 by @graydon

I've done the mistake of forgetting to run swift/utils/python_lint.py before commiting modified python sources, too.

How come these "errors" were in the tree for 22 and 21 days, respectively, and didn't break the build? I thought the validation-tests would catch this hard.

@moiseev Please review, test and merge (@ci-swift doesn't listen to me yet...)

Fixed E305 expected 2 blank lines after class or function definition
@CodaFi
Copy link
Contributor

CodaFi commented May 31, 2017

@swift-ci please python lint

@moiseev
Copy link
Contributor

moiseev commented May 31, 2017

@swift-ci Please smoke test and merge

@moiseev
Copy link
Contributor

moiseev commented May 31, 2017

I believe what's going on, is that utils/python_lint.py when invoked from validation-test/Python/python_lint.swift lints nothing. Due to lint(sys.argv[1:]) call, where argument is an empty list.
/cc @hughbe

@swift-ci swift-ci merged commit 62784f5 into swiftlang:master May 31, 2017
@palimondo palimondo deleted the picking-up-the-lint branch June 5, 2017 20:57
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.

4 participants