diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 8284be043..c02245708 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -41,3 +41,7 @@ jobs: - name: Ruff linter (all rules) id: ruff-check run: uv run ruff check + + - name: Type check (pyright) + id: pyright + run: uv run pyright diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 000000000..fbca2b790 --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,16 @@ +{ + "typeCheckingMode": "basic", + "pythonVersion": "3.11", + "pythonPlatform": "All", + "include": [ + "src/pipecat/clocks", + "src/pipecat/metrics", + "src/pipecat/transcriptions", + "src/pipecat/frames" + ], + "exclude": [ + "**/*_pb2.py", + "**/__pycache__" + ], + "reportMissingImports": false +}