Skip to content

Commit

Permalink
copy hydra.git/noxfile.py: use session.run instead of session.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasha10 committed Oct 14, 2021
1 parent 951253e commit 9adc80d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@


def deps(session, editable_installl):
session.install("--upgrade", "setuptools")
session.run("python", "-m", "pip", "install", "--upgrade", "setuptools", "pip")
extra_flags = ["-e"] if editable_installl else []
session.install("-r", "requirements/dev.txt", *extra_flags, ".", silent=True)
session.run(
"pip", "install", "-r", "requirements/dev.txt", *extra_flags, ".", silent=True
)


@nox.session(python=PYTHON_VERSIONS)
Expand Down

0 comments on commit 9adc80d

Please sign in to comment.