Skip to content

Commit a72ccad

Browse files
committed
Properly install deps for CI.
1 parent a16ff15 commit a72ccad

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

noxfile.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _session(fn):
2222

2323
@session(python=["3.8", "3.9", "3.10", "3.11"])
2424
def tests(session):
25-
session.install("pytest")
25+
session.install("pytest", str(ROOT))
2626
session.run("pytest")
2727

2828

@@ -63,7 +63,13 @@ def style(session):
6363

6464
@session()
6565
def typing(session):
66-
session.install("mypy", "types-jsonschema", str(ROOT))
66+
session.install( # FIXME: Don't repeat dependencies.
67+
"attrs",
68+
"mypy",
69+
"pyrsistent",
70+
"types-jsonschema",
71+
str(ROOT),
72+
)
6773
session.run("python", "-m", "mypy", str(REFERENCING))
6874

6975

0 commit comments

Comments
 (0)