Skip to content

Commit

Permalink
Fix issue with missing dependencies in pyright nox session
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrzyski committed Aug 29, 2024
1 parent 21dd6e8 commit 448398b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def doc_gen(session: nox.Session) -> None:
@nox.session
def pyright_check(session: nox.Session) -> None:
# this is a wrapper for _pyright_check that installs dependencies
session.install(".[topwrap-parse]")
session.install(".[tests]")
compare_with_main = "compare" in session.posargs

Expand All @@ -146,6 +145,7 @@ def pyright_check(session: nox.Session) -> None:
@nox.session
def _pyright_check(session: nox.Session) -> None:
# this is not supposed to be called outright, use `pyright_check`
session.install(".")
compare_with_main = "compare" in session.posargs

# counting down errors on branch
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies = [
"simpleeval",
"typing_extensions",
"marshmallow-dataclass[enum]",
"typing_extensions",
"pygtrie",
"pipeline_manager_backend_communication @ git+https://github.com/antmicro/kenning-pipeline-manager-backend-communication@eb690cfb7766bfbd85a4eff2a1e809573b8b72d0",
"pipeline_manager @ git+https://github.com/antmicro/kenning-pipeline-manager@f45289d7073e885b5e3f461db9a8667807b69380",
Expand All @@ -51,8 +50,8 @@ tests = [
"pytest-lazy-fixtures==1.0.1",
"pyfakefs==5.3.5",
"deepdiff==7.0.1",
"pyright",
"prettytable",
"pyright==1.1.378",
"prettytable==3.11.0",
]
deploy = [
"build==1.2.1"
Expand Down

0 comments on commit 448398b

Please sign in to comment.