From 07179194d8fc4e3beaeafbe6cf04a2f3d1addd2c Mon Sep 17 00:00:00 2001 From: Otto Jongerius Date: Thu, 9 Jul 2020 03:15:49 +1200 Subject: [PATCH] fix(cli): Python sample app template does not follow PEP8 (#8936) Classes should be surrounded by 2 blank lines according to PEP8 related PR: https://github.com/aws-samples/aws-cdk-intro-workshop/pull/142 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../%name.PythonModule%/%name.PythonModule%_stack.template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py b/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py index afc07081c834a..910a4b838c933 100644 --- a/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py +++ b/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py @@ -6,6 +6,7 @@ core ) + class %name.PascalCased%Stack(core.Stack): def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: