Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,22 @@ test = [
"pytest-cov>=4.1.0",
]

[tool.uv]
# The `= false` exclude-newer-package opt-out below landed in uv 0.9.25;
# require it so older installs fail fast instead of silently ignoring it.
# https://docs.astral.sh/uv/reference/settings/#required-version
required-version = ">=0.9.25"
# Ignore distributions published within the last week during resolution for
# reproducibility and supply-chain safety. Accepts a friendly duration
# (resolved relative to the current time on each run), an RFC 3339 timestamp,
# or an ISO 8601 duration. See:
# https://docs.astral.sh/uv/reference/settings/#exclude-newer
exclude-newer = "1 week"
# Opt first-party (litestar-org) packages out of the cooldown so their newest
# releases are always resolvable (version gated by required-version above).
# https://docs.astral.sh/uv/reference/settings/#exclude-newer-package
exclude-newer-package = { litestar = false, advanced-alchemy = false, polyfactory = false }

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this allow-list enough for now?


[tool.black]
line-length = 120
include = '\.pyi?$'
Expand Down
Loading
Loading