Skip to content

Commit

Permalink
Remove temporary installs in noxfile
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Nov 21, 2023
1 parent 6cf03a5 commit 67f5e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@
@nox.session
def tests(session: nox.Session):
session.run("pip", "uninstall", "hexdoc-mod", "-y")
session.install("-e", ".[test]")
session.install("-e", "./submodules/HexMod", "--no-deps")
session.install(
"hexdoc-minecraft @ https://github.com/object-Object/hexdoc-minecraft/raw/gh-pages/docs/v/latest/main/dist/hexdoc_minecraft-1.20.1.1.0.dev0-py3-none-any.whl",
"--no-deps",
)
session.install("-e", ".[test]", "-e", "./submodules/HexMod")

# this apparently CANNOT run from pre-commit in GitHub Actions (venv issues)
session.run("pyright", "src", "--warnings")
Expand Down Expand Up @@ -95,9 +90,7 @@ def hexdoc(session: nox.Session):

@nox.session
def mock_ci(session: nox.Session):
session.install(".", "hatch")
session.install("./submodules/HexMod", "--no-deps")
session.install("../hexdoc-minecraft", "--no-deps") # TODO: remove
session.install(".", "./submodules/HexMod", "hatch")

github_path = Path("out/github")

Expand Down
2 changes: 1 addition & 1 deletion submodules/HexMod

0 comments on commit 67f5e27

Please sign in to comment.