Skip to content

Commit 1852f02

Browse files
committed
enable python 3.13
1 parent 54dd67b commit 1852f02

File tree

3 files changed

+78
-84
lines changed

3 files changed

+78
-84
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v3
20-
- uses: actions/setup-python@v4
21-
with:
22-
python-version: "3.12"
20+
- uses: astral-sh/setup-uv@v3
21+
- run: uv python install 3.12
2322
- run: |
24-
curl -LsSf https://astral.sh/uv/install.sh | sh
2523
uv sync --all-extras --frozen --no-install-project
2624
uv run ruff format . --check
2725
uv run ruff check . --no-fix
@@ -46,11 +44,9 @@ jobs:
4644
--health-retries 5
4745
steps:
4846
- uses: actions/checkout@v3
49-
- uses: actions/setup-python@v4
50-
with:
51-
python-version: "3.12"
47+
- uses: astral-sh/setup-uv@v3
48+
- run: uv python install 3.13
5249
- run: |
53-
curl -LsSf https://astral.sh/uv/install.sh | sh
5450
uv sync --all-extras --frozen --no-install-project
5551
uv run alembic upgrade head
5652
uv run pytest . --cov=. --cov-report xml

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ select = ["ALL"]
4646
ignore = [
4747
"D1", # allow missing docstrings
4848
"FBT", # allow boolean args
49-
"ANN101", # missing-type-self
50-
"ANN102", # missing-type-cls
5149
"INP", # ignore flake8-no-pep420
5250
"B008", # function-call-in-default-argument
5351
"ANN204", # no typings for __init__

0 commit comments

Comments
 (0)