Use uv instead of pip for env creation (#99)

This commit is contained in:
Jack Gerrits 2024-06-21 10:43:28 -04:00 committed by GitHub
parent f72c8ac8d9
commit b35fe0bd22

View File

@ -22,6 +22,7 @@ dependencies = [
]
[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"pyright==1.1.368",
"mypy==1.10.0",
@ -42,6 +43,9 @@ dependencies = [
"pytest-xdist",
]
[tool.hatch.envs.default.extra-scripts]
pip = "{env:HATCH_UV} pip {args}"
[tool.hatch.envs.default.scripts]
fmt = "ruff format"
lint = "ruff check"