Skip to content

Commit

Permalink
2nd try.
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetown committed Sep 23, 2021
1 parent d57d9c4 commit f5cf9ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions noxfile.py
Expand Up @@ -60,16 +60,16 @@ def lint(session: "nox.session") -> None:

if platform.python_implementation() == "CPython":
if session.posargs:
session.run(
"python", "-m", "black", *session.posargs
)
session.run("python", "-m", "black", *session.posargs)
else:
session.run(
"python", "-m", "black", "--diff", "--check", *BLACK_CONFORM_FILES
)
session.run("python", "-m", "black", "--diff", *DEFAULT_TEST_DIRECTORIES)
else:
session.log(f"Skip black because of platform {platform.python_implementation()}.")
session.log(
f"Skip black because of platform {platform.python_implementation()}."
)


@nox.session
Expand Down

0 comments on commit f5cf9ca

Please sign in to comment.