Skip to content

Commit

Permalink
Enable colored terminal output in xdoctest session
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolowicz committed Oct 9, 2020
1 parent dc5ff9e commit 8723e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def xdoctest(session: Session) -> None:
"""Run examples with xdoctest."""
args = session.posargs or ["all"]
session.install(".")
session.install("xdoctest")
session.install("xdoctest[colors]")
session.run("python", "-m", "xdoctest", package, *args)


Expand Down

0 comments on commit 8723e9d

Please sign in to comment.