Skip to content

Commit

Permalink
Use Session.notify when chaining nox sessions (#188)
Browse files Browse the repository at this point in the history
Use [nox.sessions.Session.notify](https://nox.thea.codes/en/stable/config.html#nox.sessions.Session.notify)
instead of directly calling other nox session functions.

Should result in _slightly_ nicer log output from nox

Co-authored-by: Jonas Lundberg <jonas@5monkeys.se>
  • Loading branch information
flaeppe and lundberg committed Nov 12, 2021
1 parent 8cc098f commit b5953e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def lint(session):
session.run("isort", "--project=respx", *source_files)
session.run("black", "--target-version=py36", *source_files)

check(session)
session.notify("check")


@nox.session
Expand Down

0 comments on commit b5953e2

Please sign in to comment.