Skip to content

feat!: use the guild data provided on interactions #6124

feat!: use the guild data provided on interactions

feat!: use the guild data provided on interactions #6124

Triggered via pull request September 23, 2024 20:39
Status Failure
Total duration 4m 23s
Artifacts

lint-test.yml

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

Annotations

14 errors
pyright (3.10, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.8, false)
Exit code 1
pyright (3.8, false): disnake/interactions/base.py#L282
Argument of type "Mapping[str, Any] | None" cannot be assigned to parameter "data" of type "Guild" in function "__init__"   Type "Mapping[str, Any] | None" cannot be assigned to type "Guild"     "Mapping[str, Any]" is incompatible with "Guild" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/interactions/base.py#L283
Argument of type "dict[str, int | str]" cannot be assigned to parameter "data" of type "Role" in function "__init__"   "color" is required in "Role"   "hoist" is required in "Role"   "position" is required in "Role"   "permissions" is required in "Role"   "managed" is required in "Role"   "mentionable" is required in "Role"   "flags" is required in "Role" (reportGeneralTypeIssues)
pyright (3.8, false)
2 errors
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
pytest (3.8, macos-latest, false)
[notice] A new release of pip is available: 21.1.1 -> 24.2 [notice] To update, run: python3.8 -m pip install --upgrade pip
check
Process completed with exit code 1.