diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f254ff9..744cd79 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,9 +14,9 @@ jobs:
- run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
- - run: |
- ruff check --output-format=github .
- ruff format --check .
+ - run: pyright
+ - run: ruff check --output-format=github
+ - run: ruff format --check
- run: alembic upgrade head && alembic check
- run: |
coverage run -m pytest
diff --git a/go_ji/__init__.py b/go_ji/__init__.py
index c8bf714..f62e53b 100644
--- a/go_ji/__init__.py
+++ b/go_ji/__init__.py
@@ -152,7 +152,8 @@ def create_app(config_override: dict[str, Any] = {}) -> Flask:
# purely for testing Sentry
@app.route("/die")
def die() -> str:
- 1 / 0 # raises an error
+ # raises an error
+ 1 / 0 # type: ignore[reportUnusedExpression]
return "<p>Hello, World!</p>" # pragma: no cover
# warm-reloading - hold the websocket open forever in debug mode and when it