Skip to content

Commit 73e19dd

Browse files
ngoldbaumalex
andcommitted
Apply suggestions from code review
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
1 parent 192b698 commit 73e19dd

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

noxfile.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
@nox.session
88
def tests(session: nox.Session) -> None:
9-
session.install("coverage")
10-
session.install("pretend")
11-
session.install(".[tests]")
9+
session.install("coverage", "pretend", ".[tests]")
1210

1311
session.run(
1412
"coverage",
@@ -26,8 +24,7 @@ def tests(session: nox.Session) -> None:
2624

2725
@nox.session
2826
def docs(session: nox.Session) -> None:
29-
session.install("doc8")
30-
session.install(".[docs]")
27+
session.install("doc8", ".[docs]")
3128
tmpdir = session.create_tmp()
3229

3330
session.run(
@@ -58,10 +55,7 @@ def docs(session: nox.Session) -> None:
5855

5956
@nox.session
6057
def meta(session: nox.Session) -> None:
61-
session.install("black")
62-
session.install("flake8")
63-
session.install("flake8-import-order")
64-
session.install("check-manifest")
58+
session.install("black", "flake8", "flake8-import-order", "check-manifest")
6559

6660
session.run("flake8", ".")
6761
session.run("black", "--check", ".")

0 commit comments

Comments
 (0)