Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 21, 2023
1 parent 21a67da commit a0662e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox/pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _setup_files(dest: Path, base: Path | None, content: dict[str, Any]) -> None
value = f"from __future__ import annotations\n{value}" # noqa: PLW2901
if isinstance(value, dict):
at_path.mkdir(exist_ok=True)
ToxProject._setup_files(at_path, None, value) # noqa: SLF001
ToxProject._setup_files(at_path, None, value)
elif isinstance(value, str):
at_path.write_text(textwrap.dedent(value), encoding="utf-8")
elif value is None:
Expand Down

0 comments on commit a0662e6

Please sign in to comment.