Skip to content

Commit fff1d79

Browse files
committed
Merge remote-tracking branch 'upstream/main' into add-dates-to-release-notes
2 parents fd2f89b + 6791582 commit fff1d79

7 files changed

Lines changed: 89 additions & 46 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
@@ -83,7 +83,7 @@ jobs:
8383
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
8484
UV_PYTHON: "" # Would affect uv subprocesses spawened by fastapi-new
8585
- name: Store coverage files
86-
uses: actions/upload-artifact@v6
86+
uses: actions/upload-artifact@v7
8787
with:
8888
name: coverage-${{ runner.os }}-${{ matrix.python-version }}
8989
path: coverage
@@ -106,7 +106,7 @@ jobs:
106106
pyproject.toml
107107
uv.lock
108108
- name: Get coverage files
109-
uses: actions/download-artifact@v7
109+
uses: actions/download-artifact@v8
110110
with:
111111
pattern: coverage-*
112112
path: coverage
@@ -123,7 +123,7 @@ jobs:
123123
- run: uv run coverage combine coverage
124124
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"
125125
- name: Store coverage HTML
126-
uses: actions/upload-artifact@v6
126+
uses: actions/upload-artifact@v7
127127
with:
128128
name: coverage-html
129129
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
@@ -46,8 +46,9 @@ tests = [
4646
"coverage[toml]>=7.6.1",
4747
"mypy==1.19.1",
4848
"pytest>=8.3.5",
49-
"ruff==0.15.4",
49+
"ruff==0.15.8",
5050
"smokeshow>=0.5.0",
51+
"ty>=0.0.9",
5152
]
5253

5354
[project.scripts]

release-notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
### Internal
66

7+
* ⬆ Bump ruff from 0.15.4 to 0.15.8. PR [#54](https://github.com/fastapi/fastapi-new/pull/54) by [@dependabot[bot]](https://github.com/apps/dependabot).
8+
* ⬆ Bump ty from 0.0.21 to 0.0.27. PR [#55](https://github.com/fastapi/fastapi-new/pull/55) by [@dependabot[bot]](https://github.com/apps/dependabot).
9+
* ⬆ Bump prek from 0.3.4 to 0.3.8. PR [#56](https://github.com/fastapi/fastapi-new/pull/56) by [@dependabot[bot]](https://github.com/apps/dependabot).
10+
* 👷 Add `ty` to precommit. PR [#51](https://github.com/fastapi/fastapi-new/pull/51) by [@svlandeg](https://github.com/svlandeg).
11+
* ⬆ Bump actions/upload-artifact from 6 to 7. PR [#43](https://github.com/fastapi/fastapi-new/pull/43) by [@dependabot[bot]](https://github.com/apps/dependabot).
12+
* ⬆ Bump actions/download-artifact from 7 to 8. PR [#44](https://github.com/fastapi/fastapi-new/pull/44) by [@dependabot[bot]](https://github.com/apps/dependabot).
713
* ⬆ Bump typer from 0.21.1 to 0.24.1. PR [#45](https://github.com/fastapi/fastapi-new/pull/45) by [@dependabot[bot]](https://github.com/apps/dependabot).
814
* ⬆ Bump rich-toolkit from 0.18.1 to 0.19.7. PR [#46](https://github.com/fastapi/fastapi-new/pull/46) by [@dependabot[bot]](https://github.com/apps/dependabot).
915
* ⬆ Bump prek from 0.3.1 to 0.3.4. PR [#47](https://github.com/fastapi/fastapi-new/pull/47) 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: 69 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)