👷 添加 Pyright 类型检查

This commit is contained in:
2024-08-26 11:41:03 +08:00
parent 49d00f4d0e
commit b69240caa5

View File

@@ -4,7 +4,7 @@ on:
push: push:
jobs: jobs:
Mypy: TypeCheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -25,3 +25,8 @@ jobs:
shell: bash shell: bash
run: | run: |
poetry run mypy ./nonebot_plugin_tetris_stats poetry run mypy ./nonebot_plugin_tetris_stats
- name: Run Pyright
shell: bash
run: |
poetry run pyright ./nonebot_plugin_tetris_stats/