Skip to content

Commit f0be82c

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

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

tests/test_hook_module.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import os
4-
from pathlib import Path
54
import subprocess
65
import sys
76
import textwrap
@@ -100,7 +99,16 @@ def pytask_extend_command_line_interface(cli):
10099
tmp_path.joinpath("hooks", "hooks.py").write_text(textwrap.dedent(hooks))
101100

102101
if module_name:
103-
args = ("uv", "run", "--no-project", "python", "-m", "pytask", "build", "--help")
102+
args = (
103+
"uv",
104+
"run",
105+
"--no-project",
106+
"python",
107+
"-m",
108+
"pytask",
109+
"build",
110+
"--help",
111+
)
104112
else:
105113
args = ("uv", "run", "--no-project", "pytask", "build", "--help")
106114

tests/test_warnings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import sys
43
import textwrap
54

65
import pytest

0 commit comments

Comments
 (0)