🐛 修复 _lang 为私有变量不会默认序列化的bug #701
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TypeCheck | |
on: | |
push: | |
jobs: | |
TypeCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v6 | |
name: Setup UV | |
with: | |
enable-cache: true | |
- name: 'Set up Python' | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: '.python-version' | |
- run: uv sync | |
shell: bash | |
- name: Run Mypy | |
shell: bash | |
run: | | |
uv run mypy ./nonebot_plugin_tetris_stats | |
- name: Run BasedPyright | |
shell: bash | |
run: | | |
uv run basedpyright ./nonebot_plugin_tetris_stats/ |