Skip to content

Commit

Permalink
Add nox dev dependency and fixup noxfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Sep 7, 2024
1 parent bd3fe74 commit cadcbdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
DIR = Path(__file__).parent.resolve()

nox.needs_version = ">=2024.3.2"
nox.options.sessions = ["typecheck", "test"]
nox.options.sessions = ["typecheck", "test_unit"]
nox.options.default_venv_backend = "uv|virtualenv"


@nox.session
def typecheck(session: nox.Session) -> None:
"""Typecheck with mypy."""
session.install("--editable", ".[test]")
session.run("mypy", ".")
session.run("mypy")


@nox.session
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ kerchunk = [
]
dev = [
"bump-my-version >=0.10.0",
"nox",
"pre-commit >=2.4",
"ruff >=0.6.3",
"uv >=0.4.7",
Expand Down

0 comments on commit cadcbdd

Please sign in to comment.