Skip to content

Commit

Permalink
You need pyright to run pyright.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Nov 7, 2023
1 parent aeed7e6 commit 54f726e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def typing(session):
"""
Check the codebase using pyright by type checking the test suite.
"""
session.install(ROOT, "-r", REQUIREMENTS["tests"])
session.install("pyright", ROOT, "-r", REQUIREMENTS["tests"])
session.run("pyright", TESTS)


Expand Down
2 changes: 1 addition & 1 deletion tests/test_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_make_relative():
"base_url",
["http://foo.com/bar", "http://foo.com/bar/"],
)
def test_slash(base_url: URL):
def test_slash(base_url: str):
"""
Support the / operator as many Python types have decided to.
Expand Down

0 comments on commit 54f726e

Please sign in to comment.