From e8c4f2db25efe123c7c5d90f4d797cb7400de9e2 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 30 Mar 2025 23:16:47 +0200 Subject: [PATCH] Add pyright check to workflow --- .github/workflows/syntax.yml | 2 ++ requirements-dev.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index 7a2f2844..c1c63965 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -28,3 +28,5 @@ jobs: flake8 --version flake8 novelwriter --count --show-source --statistics flake8 tests --count --show-source --statistics --extend-ignore ANN + pyright --version + pyright diff --git a/requirements-dev.txt b/requirements-dev.txt index 8499c6e8..919e83d0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,6 @@ flake8 +flake8-annotations flake8-pep585 flake8-pyproject -flake8-annotations isort +pyright