Skip to content

Commit

Permalink
#165: Install Black before running the command
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Oct 28, 2020
1 parent fb3f320 commit d4911c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@nox.session(python="3.6")
def format(session):
args = session.posargs or code_locations
session.install("black")
session.run("black", *args, external=True)


Expand All @@ -23,6 +24,7 @@ def lint(session):
)
session.run("flake8", *args)


@nox.session(python="3.6")
def safety(session):
session.install("safety")
Expand Down

0 comments on commit d4911c5

Please sign in to comment.