Skip to content

Commit 7098a11

Browse files
author
Alex Heneveld
committed
fix missing python lint rule
1 parent 4564d3a commit 7098a11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/rpdk/typescript/codegen.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def generate(self, project):
173173
path = self.package_root / "models.ts"
174174
LOG.debug("Writing file: %s", path)
175175
template = self.env.get_template("models.ts")
176+
176177
contents = template.render(
177178
lib_name=SUPPORT_LIB_NAME,
178179
type_name=project.type_name,
@@ -186,6 +187,8 @@ def generate(self, project):
186187
LOG.debug("Generate complete")
187188

188189
def _pre_package(self, build_path):
190+
# Caller should own/delete this, not us.
191+
# pylint: disable=consider-using-with
189192
f = TemporaryFile("w+b")
190193

191194
# pylint: disable=unexpected-keyword-arg

0 commit comments

Comments
 (0)