From f54b25776de17107faa43aba560d9e1a14f53902 Mon Sep 17 00:00:00 2001 From: tr4nt0r <4445816+tr4nt0r@users.noreply.github.com> Date: Thu, 9 Oct 2025 13:39:03 +0200 Subject: [PATCH] Set ruff target version to python 3.14 Signed-off-by: tr4nt0r <4445816+tr4nt0r@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- requirements_dev.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b54e723..e3f10ee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.9.5 + rev: v0.14.0 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 2449930..19c4548 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ Issues = "https://github.com/miaucl/bring-api/issues" "Release notes" = "https://github.com/miaucl/bring-api/releases" [tool.ruff] -target-version = "py312" +target-version = "py314" [tool.ruff.lint] select = [ diff --git a/requirements_dev.txt b/requirements_dev.txt index 5d8b020..0778eb4 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,7 @@ mypy>=1.8.0 pydantic>=2.9.2 pre-commit>=3.6.1 python-dotenv>=1.0.1 -ruff~=0.13 +ruff~=0.14 mkdocs-material==9.6.21 mkdocstrings[python]==0.30.1 mashumaro>=3.13.1