Skip to content

Commit 8a2d32f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a8035a0 commit 8a2d32f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_latex_dependency_scanner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
@skip_on_github_actions_with_win
1414
@pytest.mark.end_to_end
1515
@pytest.mark.parametrize("infer_dependencies", ["true", "false"])
16-
def test_infer_dependencies_from_task(
17-
tmp_path, infer_dependencies
18-
):
16+
def test_infer_dependencies_from_task(tmp_path, infer_dependencies):
1917
task_source = """
2018
import pytask
2119
@@ -34,7 +32,9 @@ def task_compile_document():
3432
tmp_path.joinpath("document.tex").write_text(textwrap.dedent(latex_source))
3533
tmp_path.joinpath("sub_document.tex").write_text("Lorem ipsum.")
3634

37-
tmp_path.joinpath("pyproject.toml").write_text(f"[tool.pytask.ini_options]\ninfer_latex_dependencies = {infer_dependencies}")
35+
tmp_path.joinpath("pyproject.toml").write_text(
36+
f"[tool.pytask.ini_options]\ninfer_latex_dependencies = {infer_dependencies}"
37+
)
3838

3939
session = main({"paths": tmp_path})
4040
assert session.exit_code == ExitCode.OK

0 commit comments

Comments
 (0)