👷 为测试矩阵添加更多 python 版本 (#568)

* 👷 为测试矩阵添加更多 python 版本

* ⬆️ 更新 lock 包版本

* 🚨 修复 mypy 报错
This commit is contained in:
呵呵です
2025-12-25 05:02:18 +08:00
committed by GitHub
parent 0228e1a480
commit 3615a87926
3 changed files with 3099 additions and 2154 deletions

View File

@@ -3,7 +3,7 @@ name: Code Coverage
on:
push:
branches:
- 'main'
- "main"
pull_request:
concurrency:
@@ -16,8 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# python-version: ['3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12']
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
env:

View File

@@ -146,7 +146,7 @@ class Player:
BASE_URL / 'users' / self._request_user_parameter / 'summaries' / summaries_type
)
summaries: SummariesModel | FailedModel = type_validate_json(
self.__SUMMARIES_MAPPING[summaries_type] | FailedModel, # type: ignore[arg-type]
self.__SUMMARIES_MAPPING[summaries_type] | FailedModel, # type: ignore[assignment, arg-type] #! waiting for [PEP 747](https://peps.python.org/pep-0747/)
raw_summaries,
)
if isinstance(summaries, FailedModel):

5246
uv.lock generated

File diff suppressed because it is too large Load Diff