From b998044ea6594a62a5d9b9c9dacbd5455a915052 Mon Sep 17 00:00:00 2001 From: kbonney Date: Tue, 18 Jul 2023 12:10:11 -0400 Subject: [PATCH] adding black check to noxfile --- noxfile.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 649c962..406f517 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,4 +21,8 @@ def docs(session): @nox.session def serve(session): - session.run("python", "-m", "http.server", "-b", "localhost", "-d", "docs/_build/html", "8085") \ No newline at end of file + session.run("python", "-m", "http.server", "-b", "localhost", "-d", "docs/_build/html", "8085") + +@nox.session +def check_style(session): + session.run("black", "--check") \ No newline at end of file