Skip to content

Commit db9b08f

Browse files
committed
Merge branch 'main' into drop/python38
# Conflicts: # pyproject.toml # uv.lock
2 parents feff4ec + ceb22b4 commit db9b08f

File tree

7 files changed

+106
-47
lines changed

7 files changed

+106
-47
lines changed

.github/workflows/smokeshow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
pyproject.toml
3131
uv.lock
3232
- run: uv sync --locked --no-dev --group tests
33-
- uses: actions/download-artifact@v7
33+
- uses: actions/download-artifact@v8
3434
with:
3535
name: coverage-html
3636
path: htmlcov

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
8888
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
8989
- name: Store coverage files
90-
uses: actions/upload-artifact@v6
90+
uses: actions/upload-artifact@v7
9191
with:
9292
name: coverage-${{ runner.os }}-${{ matrix.python-version }}
9393
path: coverage
@@ -110,7 +110,7 @@ jobs:
110110
pyproject.toml
111111
uv.lock
112112
- name: Get coverage files
113-
uses: actions/download-artifact@v7
113+
uses: actions/download-artifact@v8
114114
with:
115115
pattern: coverage-*
116116
path: coverage
@@ -127,7 +127,7 @@ jobs:
127127
- run: uv run coverage combine coverage
128128
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"
129129
- name: Store coverage HTML
130-
uses: actions/upload-artifact@v6
130+
uses: actions/upload-artifact@v7
131131
with:
132132
name: coverage-html
133133
path: htmlcov

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ repos:
3333
require_serial: true
3434
language: unsupported
3535
pass_filenames: false
36+
37+
- id: local-ty
38+
name: ty check
39+
entry: uv run ty check src
40+
require_serial: true
41+
language: unsupported
42+
pass_filenames: false

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ tests = [
4848
"coverage[toml]>=7.6.1",
4949
"mypy==1.14.1",
5050
"pytest>=8.3.5",
51-
"ruff==0.14.14",
51+
"ruff==0.15.4",
5252
"smokeshow>=0.5.0",
53+
"ty>=0.0.9",
5354
]
5455

5556
[build-system]

release-notes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
### Internal
1010

11+
* 👷 Add `ty` to precommit. PR [#43](https://github.com/fastapi/annotated-doc/pull/43) by [@svlandeg](https://github.com/svlandeg).
12+
* ⬆ Bump actions/upload-artifact from 6 to 7. PR [#40](https://github.com/fastapi/annotated-doc/pull/40) by [@dependabot[bot]](https://github.com/apps/dependabot).
13+
* ⬆ Bump actions/download-artifact from 7 to 8. PR [#39](https://github.com/fastapi/annotated-doc/pull/39) by [@dependabot[bot]](https://github.com/apps/dependabot).
14+
* ⬆ Bump ruff from 0.14.14 to 0.15.4. PR [#41](https://github.com/fastapi/annotated-doc/pull/41) by [@dependabot[bot]](https://github.com/apps/dependabot).
15+
* ⬆ Bump prek from 0.3.1 to 0.3.4. PR [#42](https://github.com/fastapi/annotated-doc/pull/42) by [@dependabot[bot]](https://github.com/apps/dependabot).
1116
* 👷 Run tests with lower bound uv sync. PR [#37](https://github.com/fastapi/annotated-doc/pull/37) by [@YuriiMotov](https://github.com/YuriiMotov).
1217
* 👷 Run mypy by pre-commit. PR [#35](https://github.com/fastapi/annotated-doc/pull/35) by [@YuriiMotov](https://github.com/YuriiMotov).
1318
* ⬆ Bump ruff from 0.14.3 to 0.14.14. PR [#33](https://github.com/fastapi/annotated-doc/pull/33) by [@dependabot[bot]](https://github.com/apps/dependabot).

scripts/lint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ set -e
44
set -x
55

66
mypy src
7+
ty check src
78
ruff check src tests scripts
89
ruff format src tests --check

uv.lock

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

0 commit comments

Comments
 (0)