Skip to content

Commit

Permalink
Use PEP 735 [dependency-groups] for dev dependencies (#107)
Browse files Browse the repository at this point in the history
uv recently released new version that supports now standardized `[dependency-groups]` table. See [uv 0.4.27](https://github.com/astral-sh/uv/releases/tag/0.4.27) and [PEP 735](https://peps.python.org/pep-0735/)
  • Loading branch information
vrslev authored Oct 27, 2024
1 parent 7595531 commit 661d76d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ install:
uv sync --all-extras --frozen

lint:
uv run ruff format .
uv run ruff check . --fix
uv run ruff format
uv run ruff check --fix
uv run mypy .

lint-ci:
uv run ruff format . --check
uv run ruff check . --no-fix
uv run ruff format --check
uv run ruff check --no-fix
uv run mypy .

test *args:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ packages = [
repository = "https://github.com/modern-python/that-depends"
docs = "https://that-depends.readthedocs.io"

[tool.uv]
dev-dependencies = [
[dependency-groups]
dev = [
"fastapi",
"litestar",
"httpx",
Expand Down

0 comments on commit 661d76d

Please sign in to comment.