File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ def install_nothing(s: Session) -> None:
3333 assert "pyyaml" not in r
3434 assert "networkx" not in r
3535 assert "ruff" not in r
36- assert "pytest-cov " not in r
36+ assert "nose " not in r
3737 assert "mypy" not in r
3838
3939
4040@session (uv_groups = ["test" ])
4141def test_group (s : Session ) -> None :
4242 r = s .run ("uv" , "pip" , "list" , silent = True )
4343 assert isinstance (r , str )
44- assert "pytest-cov " in r
44+ assert "nose " in r
4545 assert "networkx" not in r
4646 assert "ruff" not in r
4747
@@ -52,7 +52,7 @@ def all_groups(s: Session) -> None:
5252 assert isinstance (r , str )
5353 assert "networkx" in r
5454 assert "ruff" in r
55- assert "pytest-cov " in r
55+ assert "nose " in r
5656 assert "mypy" in r
5757
5858
@@ -62,7 +62,7 @@ def all_groups_and_no_group(s: Session) -> None:
6262 assert isinstance (r , str )
6363 assert "networkx" not in r
6464 assert "ruff" not in r
65- assert "pytest-cov " in r
65+ assert "nose " in r
6666 assert "mypy" in r
6767
6868
Original file line number Diff line number Diff line change @@ -4,12 +4,8 @@ version = "0.1.0"
44description = " Project for testing nox-uv"
55readme = " README.md"
66requires-python = " >=3.9"
7- classifiers = [
8- " Private :: Do Not Upload" ,
9- ]
10- dependencies = [
11- " nox-uv" ,
12- ]
7+ classifiers = [" Private :: Do Not Upload" ]
8+ dependencies = [" nox-uv" ]
139
1410[tool .uv .sources ]
1511nox-uv = { path = " ../../" , editable = true }
@@ -19,28 +15,16 @@ requires = ["uv_build>=0.9.0,<0.10.0"]
1915build-backend = " uv_build"
2016
2117
22- [project .optional-dependencies ]
18+ [project .optional-dependencies ]
2319pyyaml = [" pyyaml" ]
2420scapy = [" scapy" ]
2521
2622[dependency-groups ]
27- never-used = [
28- " networkx"
29- ]
23+ never-used = [" networkx" ]
3024
31- lint = [
32- " ruff>=0.9.7" ,
33- ]
34- test = [
35- " pytest-cov>=6.0.0" ,
36- ]
37- type_check = [
38- " mypy>=1.15.0" ,
39- ]
25+ lint = [" ruff>=0.9.7" ]
26+ test = [" nose>=1.3.7" ]
27+ type_check = [" mypy>=1.15.0" ]
4028
4129[tool .uv ]
42- default-groups = [
43- " lint" ,
44- " test" ,
45- " type_check" ,
46- ]
30+ default-groups = [" lint" , " test" , " type_check" ]
You can’t perform that action at this time.
0 commit comments