From d2fc539805dbbf215b4745b9a9ca5aef51a7ba73 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:16:24 +0100 Subject: [PATCH] DX: run `pyright` in `tox -e sty` job --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 11b3144..99d4a42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -176,6 +176,8 @@ reportUnusedFunction = true reportUnusedImport = true reportUnusedVariable = true typeCheckingMode = "strict" +venv = ".venv" +venvPath = "." [tool.pytest.ini_options] addopts = [ @@ -471,7 +473,4 @@ allowlist_externals = commands = pre-commit run --all-files {posargs} description = Perform all linting, formatting, and spelling checks -setenv = - {[testenv]setenv} - SKIP = pyright """