Skip to content

Commit c829855

Browse files
committed
Rename test dep group to dev
A dev should always have the dependencies is this group installed. uv will automatically install the dev group so renaming is the simple solution.
1 parent 42c47f0 commit c829855

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def run_tests_with_coverage(session: nox.Session) -> None:
7171
session.posargs.remove("no-config")
7272
extra = ["--no-config"]
7373

74-
session.run_install("uv", "sync", "--group", "test", *SYNC_ARGS, *extra)
74+
session.run_install("uv", "sync", *SYNC_ARGS, *extra)
7575

7676
coverage = functools.partial(session.run, "uv", "run", *extra, "coverage")
7777

@@ -89,7 +89,7 @@ def run_tests_with_coverage(session: nox.Session) -> None:
8989
@nox.session(name="combine", python=False)
9090
def combine_coverage(session: nox.Session) -> None:
9191
"""Combine parallel-mode coverage files and produce reports."""
92-
session.run_install("uv", "sync", "--group", "test", *SYNC_ARGS)
92+
session.run_install("uv", "sync", *SYNC_ARGS)
9393

9494
coverage = functools.partial(session.run, "uv", "run", "coverage")
9595

@@ -102,7 +102,7 @@ def combine_coverage(session: nox.Session) -> None:
102102
@nox.session(name="lint", python=False)
103103
def run_linters(session: nox.Session) -> None:
104104
"""Run code linters, and type checking against all files."""
105-
session.run_install("uv", "sync", "--group", "test", "--group", "lint", *SYNC_ARGS)
105+
session.run_install("uv", "sync", "--group", "lint", *SYNC_ARGS)
106106

107107
for linter_args in LINTERS:
108108
session.run("uv", "run", *linter_args)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ lint = [
3434
"flake8-pep585",
3535
"mypy",
3636
]
37-
test = [
37+
dev = [
3838
"pytest",
3939
"pytest-randomly",
4040
"coverage",

uv.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)