From 3be9b5f33907c5bbb74555282cc0d8413c68f467 Mon Sep 17 00:00:00 2001 From: schperplata Date: Sat, 30 Nov 2024 18:35:32 +0100 Subject: [PATCH 1/2] Add py312 and py313 to github/tox test config --- .github/workflows/build_ci.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_ci.yml b/.github/workflows/build_ci.yml index dd6f5635..b2efeb92 100644 --- a/.github/workflows/build_ci.yml +++ b/.github/workflows/build_ci.yml @@ -6,7 +6,7 @@ jobs: pytests: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] fail-fast: false runs-on: ubuntu-latest steps: diff --git a/tox.ini b/tox.ini index f60dade7..4cbf0d28 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, py311, analysis +envlist = py38, py39, py310, py311, py312, py313, analysis [testenv] deps = From 2dca786e75791b3c7c034b891a11cb6ce177c51f Mon Sep 17 00:00:00 2001 From: schperplata Date: Sat, 30 Nov 2024 18:59:35 +0100 Subject: [PATCH 2/2] Ignore RUF022 ruff rule --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f6e2cfb0..823bfa94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,10 +29,13 @@ line_length = 120 src_paths = ["src", "tests"] [tool.ruff] -select = ["E", "F", "N", "UP", "YTT", "B", "A", "ARG", "RUF"] target-version = "py38" line-length = 120 +[tool.ruff.lint] +select = ["E", "F", "N", "UP", "YTT", "B", "A", "ARG", "RUF"] +ignore = ["RUF022"] + [[tool.mypy.overrides]] module = "scipy,scipy.*,parameterized.*" ignore_missing_imports = true