Skip to content

Commit f0fa03c

Browse files
committed
Merge remote-tracking branch 'upstream/main' into add-dates-to-release-notes
2 parents 04280dc + 9bb3853 commit f0fa03c

7 files changed

Lines changed: 91 additions & 47 deletions

File tree

.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
@@ -90,7 +90,7 @@ jobs:
9090
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
9191
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
9292
- name: Store coverage files
93-
uses: actions/upload-artifact@v6
93+
uses: actions/upload-artifact@v7
9494
with:
9595
name: coverage-${{ runner.os }}-${{ matrix.python-version }}
9696
path: coverage
@@ -113,7 +113,7 @@ jobs:
113113
pyproject.toml
114114
uv.lock
115115
- name: Get coverage files
116-
uses: actions/download-artifact@v7
116+
uses: actions/download-artifact@v8
117117
with:
118118
pattern: coverage-*
119119
path: coverage
@@ -130,7 +130,7 @@ jobs:
130130
- run: uv run coverage combine coverage
131131
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"
132132
- name: Store coverage HTML
133-
uses: actions/upload-artifact@v6
133+
uses: actions/upload-artifact@v7
134134
with:
135135
name: coverage-html
136136
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
@@ -49,8 +49,9 @@ tests = [
4949
"coverage[toml]>=7.6.1",
5050
"mypy==1.14.1",
5151
"pytest>=8.3.5",
52-
"ruff==0.14.14",
52+
"ruff==0.15.8",
5353
"smokeshow>=0.5.0",
54+
"ty>=0.0.9",
5455
"typing-extensions>=4.13.2 ; python_full_version < '3.9'",
5556
]
5657

release-notes.md

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

99
### Internal
1010

11+
* ⬆ Bump prek from 0.3.4 to 0.3.8. PR [#45](https://github.com/fastapi/annotated-doc/pull/45) by [@dependabot[bot]](https://github.com/apps/dependabot).
12+
* ⬆ Bump ty from 0.0.21 to 0.0.27. PR [#46](https://github.com/fastapi/annotated-doc/pull/46) by [@dependabot[bot]](https://github.com/apps/dependabot).
13+
* ⬆ Bump ruff from 0.15.4 to 0.15.8. PR [#47](https://github.com/fastapi/annotated-doc/pull/47) by [@dependabot[bot]](https://github.com/apps/dependabot).
14+
* 👷 Add `ty` to precommit. PR [#43](https://github.com/fastapi/annotated-doc/pull/43) by [@svlandeg](https://github.com/svlandeg).
15+
* ⬆ 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).
16+
* ⬆ 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).
17+
* ⬆ 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).
18+
* ⬆ 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).
1119
* 👷 Run tests with lower bound uv sync. PR [#37](https://github.com/fastapi/annotated-doc/pull/37) by [@YuriiMotov](https://github.com/YuriiMotov).
1220
* 👷 Run mypy by pre-commit. PR [#35](https://github.com/fastapi/annotated-doc/pull/35) by [@YuriiMotov](https://github.com/YuriiMotov).
1321
* ⬆ 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

0 commit comments

Comments
 (0)