Skip to content

Commit ddb06db

Browse files
Merge pull request #614 from RonnyPfannschmidt/feature/add-uv-tooling
Add uv dependency management and dev tooling
2 parents b455996 + 6c9d274 commit ddb06db

File tree

4 files changed

+532
-2
lines changed

4 files changed

+532
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ pip-wheel-metadata/
6767

6868
# pytest-benchmark
6969
.benchmarks/
70+
71+
# Claude Code local settings
72+
.claude/settings.local.json

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ readme = {file = "README.rst", content-type = "text/x-rst"}
3636
requires-python = ">=3.9"
3737

3838
dynamic = ["version"]
39-
[project.optional-dependencies]
39+
[dependency-groups]
4040
dev = ["pre-commit", "tox"]
4141
testing = ["pytest", "pytest-benchmark", "coverage"]
4242

43+
4344
[tool.setuptools]
4445
packages = ["pluggy"]
4546
package-dir = {""="src"}
@@ -68,6 +69,9 @@ lines-after-imports = 2
6869

6970
[tool.setuptools_scm]
7071

72+
[tool.uv]
73+
default-groups = ["dev", "testing"]
74+
7175
[tool.towncrier]
7276
package = "pluggy"
7377
package_dir = "src/pluggy"

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ commands=
99
setenv=
1010
_PYTEST_SETUP_SKIP_PLUGGY_DEP=1
1111
coverage: _PLUGGY_TOX_CMD=coverage run -m pytest
12-
extras=testing
12+
dependency_groups=testing
1313
deps=
1414
coverage: coverage
1515
pytestmain: git+https://github.com/pytest-dev/pytest.git@main

0 commit comments

Comments
 (0)