Skip to content

Commit 3e28bd0

Browse files
authored
Merge pull request #51 from stefanofusai/50-move-development-dependencies-to-dependency-groups
2 parents 500c456 + 7c214b2 commit 3e28bd0

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class MyAPIView(...):
5656
## Development
5757

5858
```bash
59-
uv sync
59+
uv sync --group=development
6060
uv run pre-commit install --install-hooks
6161
uv run pre-commit install --hook-type=commit-msg
6262
```

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ dependencies = [
1414
"django==5.1.4",
1515
"django-haystack==3.3.0",
1616
"djangorestframework==3.15.2",
17-
"pre-commit==4.0.1",
18-
"ruff==0.8.2",
1917
]
2018

2119
[project.urls]
@@ -26,6 +24,12 @@ Repository = "https://github.com/stefanofusai/drf-haystack-search-filter"
2624
requires = ["hatchling"]
2725
build-backend = "hatchling.build"
2826

27+
[dependency-groups]
28+
development = [
29+
"pre-commit==4.0.1",
30+
"ruff==0.8.2",
31+
]
32+
2933
[tool.mypy]
3034
python_version = "3.12"
3135
strict = true

uv.lock

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

0 commit comments

Comments
 (0)