Skip to content

Commit 67adb2d

Browse files
committed
uv: group dev deps in dev group
1 parent 6f423a3 commit 67adb2d

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

justfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ check-static: lint typecheck
66

77
# check style and format
88
lint:
9-
uv run --group=lint -- ruff check --extend-select I .
10-
uv run --group=lint -- ruff format --check .
9+
uv run -- ruff check --extend-select I .
10+
uv run -- ruff format --check .
1111

1212
# format code and sort imports
1313
format:
14-
uv run --group=lint -- ruff check --select I --fix .
15-
uv run --group=lint -- ruff format .
14+
uv run -- ruff check --select I --fix .
15+
uv run -- ruff format .
1616

1717
# check static typing annotations
1818
typecheck:
19-
uv run --group=typing -- mypy stagpy/ tests/
19+
uv run -- mypy stagpy/ tests/
2020

2121
# run test suite
2222
test:
23-
uv run --group=test -- pytest --cov=./stagpy --cov-report term-missing
23+
uv run -- pytest --cov=./stagpy --cov-report term-missing
2424

2525
# invoke mkdocs with appropriate dependencies
2626
mkdocs *FLAGS:

pyproject.toml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,10 @@ dependencies = [
3939
]
4040

4141
[dependency-groups]
42-
test = [
42+
dev = [
4343
"pytest>=8.3.3",
4444
"pytest-cov>=5.0.0",
45-
]
46-
lint = [
4745
"ruff>=0.6.9",
48-
]
49-
typing = [
5046
"mypy>=1.11.2",
5147
"pandas-stubs>=2.2.3.241009",
5248
]
@@ -81,6 +77,3 @@ module = [
8177
"scipy.*",
8278
]
8379
ignore_missing_imports = true
84-
85-
[tool.uv]
86-
default-groups = ["test", "typing"]

0 commit comments

Comments
 (0)