From d518419eb24a0d669d7df28856515147d556d683 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 28 Jan 2026 10:41:20 +0100 Subject: [PATCH] chore: Fix pyright CI job --- .github/workflows/ci.yml | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d096d7..ccdb4a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,8 +62,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python }} - activate-environment: true - - run: uv pip install tox tox-uv + - run: uv tool install tox --with tox-uv - run: tox -e ${{ matrix.tox }} if: ${{ ! matrix.coverage }} - run: tox -e ${{ matrix.tox }} -- --cov-report=xml diff --git a/pyproject.toml b/pyproject.toml index c429082..a58497c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ module = "brreg.*" disallow_untyped_defs = true -[tool.pyright] +[tool.basedpyright] pythonVersion = "3.10" typeCheckingMode = "strict" # Already covered by tests and careful import ordering: