We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b5c5f commit 39f01deCopy full SHA for 39f01de
exasol/toolbox/nox/_format.py
@@ -14,8 +14,8 @@
14
15
16
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"]
+ def command(*args: str) -> Iterable[str]:
+ return args if mode == Mode.Fix else list(args) + ["--check"]
19
20
session.run(*command("poetry", "run", "isort"), *files)
21
session.run(*command("poetry", "run", "black"), *files)
0 commit comments