Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

fix: Python classes should be surrounded by two blank lines #142

Closed
wants to merge 1 commit into from

Conversation

ojongerius
Copy link

@ojongerius ojongerius commented Jul 8, 2020

Classes should be surrounded by 2 blank lines according to PEP8. The code snippets sometimes do this, and sometimes don't. I noticed that is an issue in the aws-cdk templates, I've raised aws/aws-cdk#8936 for that.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mergify
Copy link
Contributor

mergify bot commented Jul 8, 2020

"### Pull Request Checklist * [ ] Testing - Unit test added (prefer not to modify an existing test, otherwise, it's probably a breaking change) * [ ] Title and Description - Change type: title prefixed with fix, feat and module name in parens, which will appear in changelog - Title: use lower-case and doesn't end with a period - Breaking?: last paragraph: 'BREAKING CHANGE: <describe what changed + link for details>' - Issues: Indicate issues fixed via: 'Fixes #xxx' or 'Closes #xxx'"

mergify bot pushed a commit to aws/aws-cdk that referenced this pull request Jul 8, 2020
Classes should be surrounded by 2 blank lines according to PEP8

related PR: aws-samples/aws-cdk-intro-workshop#142

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@ojongerius
Copy link
Author

TTL expired

@ojongerius ojongerius closed this Oct 4, 2020
@ojongerius ojongerius deleted the class_pep8 branch October 4, 2020 20:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants