Skip to content

Commit 39f01de

Browse files
committed
Fixed type hint 2
1 parent 99b5c5f commit 39f01de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exasol/toolbox/nox/_format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515

1616
def _code_format(session: Session, mode: Mode, files: Iterable[str]) -> None:
17-
def command(*args: str) -> list[str]:
18-
return list(args) if mode == Mode.Fix else list(args) + ["--check"]
17+
def command(*args: str) -> Iterable[str]:
18+
return args if mode == Mode.Fix else list(args) + ["--check"]
1919

2020
session.run(*command("poetry", "run", "isort"), *files)
2121
session.run(*command("poetry", "run", "black"), *files)

0 commit comments

Comments
 (0)