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: