Skip to content
Merged
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
25 changes: 0 additions & 25 deletions .github/dependabot.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Enable caching
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.1.0
- name: Install Python
run: uv python install
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: trailing-whitespace
repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.13.0
rev: v0.15.11
hooks:
# Run the linter.
- id: ruff-check
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ documentation = "https://github.com/maread99/valimp"
[tool.setuptools_scm]
write_to = "src/valimp/_version.py"

[tool.uv]
exclude-newer = "2 days"

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
Expand Down
9 changes: 3 additions & 6 deletions tests/test_valimp.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,9 @@ def func(
h: Annotated[
str,
m.Parser(
lambda name, obj, params: name
+ "_"
+ obj
+ "_"
+ params["e"]
+ "_bar"
lambda name, obj, params: (
name + "_" + obj + "_" + params["e"] + "_bar"
)
),
],
i: Annotated[int, "spam meta", "foo meta"],
Expand Down
561 changes: 449 additions & 112 deletions uv.lock

Large diffs are not rendered by default.

Loading