From 3f2dd0e60cde8396a4b09f2e5668674f16a40703 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Wed, 21 Feb 2024 18:55:07 +0100 Subject: Configure which files pyright runs on in pyproject.toml Move the configuration of which files pyright should run on from the CI command to pyproject.toml. Pyright is only configured to run on the main files for v3. So don't run it on the files for the old version of wee-slack, and don't run it on the util scripts. Ideally we would run it on the util scripts, but they give a lot of errors now, so we'd have to fix that first. --- .github/workflows/wee-slack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/wee-slack.yml') diff --git a/.github/workflows/wee-slack.yml b/.github/workflows/wee-slack.yml index 0069dc1..377c1b4 100644 --- a/.github/workflows/wee-slack.yml +++ b/.github/workflows/wee-slack.yml @@ -28,7 +28,7 @@ jobs: - run: poetry run ruff check - - run: poetry run pyright main.py slack tests typings + - run: poetry run pyright - run: poetry run pytest tests -- cgit