[pre-commit.ci] pre-commit autoupdate (#1423)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.249 → v0.0.253](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.249...v0.0.253) * fix ruff warnings * chore: fix pylint warnings Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Grzegorz Bokota
Henry Schreiner
parent
422509e168
commit
c72e27e65a
@@ -33,7 +33,7 @@ class TestProject:
|
||||
|
||||
with file_path.open("w", encoding="utf8") as f:
|
||||
if isinstance(content, jinja2.Template):
|
||||
content = content.render(self.template_context)
|
||||
content = content.render(self.template_context) # noqa: PLW2901
|
||||
|
||||
f.write(content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user