lint: various non-semantic fixes

bumping fail-under for pylint to 9.72
This commit is contained in:
Iain Learmonth 2022-06-23 13:42:45 +01:00
parent 7a54e4ea96
commit f6452cb4fa
14 changed files with 47 additions and 29 deletions

View file

@ -47,5 +47,5 @@ class BaseAutomation(metaclass=ABCMeta):
:return: None
"""
tmpl = jinja2.Template(template)
with open(self.working_directory(filename), 'w', encoding="utf-8") as tf:
tf.write(tmpl.render(**kwargs))
with open(self.working_directory(filename), 'w', encoding="utf-8") as tfconf:
tfconf.write(tmpl.render(**kwargs))