Skip to content

Commit 99b5c5f

Browse files
committed
Fixed type hint
1 parent f8a9e98 commit 99b5c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exasol/toolbox/nox/_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
def _code_format(session: Session, mode: Mode, files: Iterable[str]) -> None:
1717
def command(*args: str) -> list[str]:
18-
return args if mode == Mode.Fix else list(args) + ["--check"]
18+
return list(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)