[pre-commit.ci] pre-commit autoupdate #290
code-checks.yml
on: pull_request
pre-commit
31s
pyright
24s
Annotations
11 errors and 1 warning
pyright:
qdarktheme/_icon/icon_engine.py#L30
Argument of type "int | None" cannot be assigned to parameter "r" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L30
Argument of type "int | None" cannot be assigned to parameter "g" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L30
Argument of type "int | None" cannot be assigned to parameter "b" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L30
Argument of type "int | None" cannot be assigned to parameter "a" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L33
Argument of type "int | None" cannot be assigned to parameter "r" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L33
Argument of type "int | None" cannot be assigned to parameter "g" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L33
Argument of type "int | None" cannot be assigned to parameter "b" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_icon/icon_engine.py#L33
Argument of type "int | None" cannot be assigned to parameter "a" of type "int" in function "from_rgba"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
pyright:
qdarktheme/_template/engine.py#L47
Argument of type "tuple[str, ...]" cannot be assigned to parameter "filters" of type "tuple[str]" in function "__init__"
"tuple[str, ...]" is not assignable to "tuple[str]"
Tuple size mismatch; expected 1 but received indeterminate (reportArgumentType)
|
pyright:
qdarktheme/widget_gallery/main_window.py#L107
"addActions" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pre-commit
Process completed with exit code 1.
|
pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|