mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-26 06:28:50 +00:00
Use uv instead of pip for env creation (#99)
This commit is contained in:
parent
f72c8ac8d9
commit
b35fe0bd22
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user