diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 981b22de..18fcbaa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,10 @@ jobs: run: | rye sync --all-features + - name: Run ruff + run: | + rye run check:ruff + - name: Run type checking run: | rye run typecheck diff --git a/pyproject.toml b/pyproject.toml index 15f32143..0c9a0244 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,8 @@ format = { chain = [ "format:ruff" = "ruff --fix ." "format:isort" = "isort ." +"check:ruff" = "ruff ." + typecheck = { chain = [ "typecheck:pyright", "typecheck:verify-types",