Skip to content

Commit c424b98

Browse files
committed
Update API to Python 3.13
1 parent e6e5205 commit c424b98

File tree

5 files changed

+17
-235
lines changed

5 files changed

+17
-235
lines changed

docker/Dockerfile-proxy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.3
2-
FROM python:3.12-slim-bookworm
2+
FROM python:3.13-slim-bookworm
33

44
ENV FRP_VERSION=v0.51.3
55

docker/Dockerfile.requirements

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.4
2-
ARG PYTHON_IMAGE=ghcr.io/astral-sh/uv:python3.12-bookworm-slim
2+
ARG PYTHON_IMAGE=ghcr.io/astral-sh/uv:python3.13-bookworm-slim
33

44
# BUILD STAGE - Download dependencies from GitHub that require SSH access
55
FROM $PYTHON_IMAGE as build

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "codecov-api"
33
version = "0.0.1"
44
readme = "README.md"
5-
requires-python = ">=3.12"
5+
requires-python = ">=3.13"
66
dependencies = [
77
"aiodataloader==0.4.0",
88
"ariadne==0.23.0",

ruff.toml

+12-12
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ exclude = [
3232
line-length = 88
3333
indent-width = 4
3434

35-
# Assume Python 3.12
36-
target-version = "py312"
35+
# Assume Python 3.13
36+
target-version = "py313"
3737

3838
[lint]
3939
# https://docs.astral.sh/ruff/rules/
4040
select = [
4141
"ASYNC", # flake8-async - async checks
42-
"C4", # flake8-comprehensions - list/set/dict/generator comprehensions
43-
"E", # pycodestyle - error rules
44-
"F", # pyflakes - general Python errors, undefined names
45-
"I", # isort - import sorting
46-
"PERF", # perflint - performance anti-pattern rules
47-
"PLC", # pylint - convention rules
48-
"PLE", # pylint - error rules
49-
"T20", # flake8-print - print statements
50-
"W", # pycodestyle - warning rules
42+
"C4", # flake8-comprehensions - list/set/dict/generator comprehensions
43+
"E", # pycodestyle - error rules
44+
"F", # pyflakes - general Python errors, undefined names
45+
"I", # isort - import sorting
46+
"PERF", # perflint - performance anti-pattern rules
47+
"PLC", # pylint - convention rules
48+
"PLE", # pylint - error rules
49+
"T20", # flake8-print - print statements
50+
"W", # pycodestyle - warning rules
5151
]
5252
ignore = ["F405", "F403", "E501", "E712", "C408"]
5353

@@ -71,4 +71,4 @@ indent-style = "space"
7171
skip-magic-trailing-comma = false
7272

7373
# Like Black, automatically detect the appropriate line ending.
74-
line-ending = "auto"
74+
line-ending = "auto"

0 commit comments

Comments
 (0)