Skip to content

fix(typing): complete unparametrized generics #5923

fix(typing): complete unparametrized generics

fix(typing): complete unparametrized generics #5923

Triggered via pull request June 1, 2024 19:23
Status Failure
Total duration 4m 55s
Artifacts

lint-test.yml

on: pull_request
Matrix: pyright
Matrix: pytest
Fit to window
Zoom out
Zoom in

Annotations

15 errors
pyright (3.8, false)
Exit code 1
pyright (3.8, false): disnake/ext/commands/bot_base.py#L170
Type "Self@BotBase[CogT@BotBase]" cannot be assigned to type variable "BotT@Context"   Type "BotBase[CogT@BotBase]" is incompatible with bound type "Bot[Any] | AutoShardedBot[Any]" for type variable "BotT@Context"     Type "BotBase[CogT@BotBase]" cannot be assigned to type "Bot[Any] | AutoShardedBot[Any]"       "BotBase[CogT@BotBase]" is incompatible with "Bot[Any]"       "BotBase[CogT@BotBase]" is incompatible with "AutoShardedBot[Any]" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/ext/commands/bot_base.py#L170
Unnecessary "# pyright: ignore" rule: "reportInvalidTypeArguments"
pyright (3.8, false): disnake/ext/commands/core.py#L162
Argument of type "Context[Any]" cannot be assigned to parameter "message" of type "Message" in function "release"   "Context[Any]" is incompatible with "Message" (reportGeneralTypeIssues)
pyright (3.8, false)
3 errors
pyright (3.11, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.12, false)
Exit code 1
pyright (3.12, false)
Exit code 1
pyright (3.9, false)
Exit code 1
pyright (3.9, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pytest (3.8, macos-latest, false)
[notice] A new release of pip is available: 21.1.1 -> 24.0 [notice] To update, run: python3.8 -m pip install --upgrade pip
check
Process completed with exit code 1.