From 0ffa111706436d7d693e445dbdcffb62fabbc575 Mon Sep 17 00:00:00 2001 From: FObersteiner Date: Wed, 25 Dec 2024 18:37:48 +0100 Subject: [PATCH] try #17 --- .github/workflows/pyfuppes-ci.yml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pyfuppes-ci.yml b/.github/workflows/pyfuppes-ci.yml index c1f66fb..b8c0e49 100644 --- a/.github/workflows/pyfuppes-ci.yml +++ b/.github/workflows/pyfuppes-ci.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.12"] # ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] os: [ubuntu-latest] # , macos-latest, windows-latest] runs-on: ${{matrix.os}} steps: @@ -32,7 +32,7 @@ jobs: run: uv run black . --color --diff --check - name: Run ruff ckecks - run: uv run ruff check + run: uv run ruff check --target-version=py312 - name: Run tests run: uv run -m pytest diff --git a/pyproject.toml b/pyproject.toml index 8a06cf1..4a08a16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ lint.extend-select = ["I", "C4", "SIM"] # "C4" : comprehensions # "TCH" : type checking optimizations # "SIM" : code simplifications -target-version = "py312" +target-version = "py39" [tool.pytest.ini_options] addopts = ["--import-mode=importlib"]