[pre-commit.ci] pre-commit autoupdate #245
code-checks.yml
on: pull_request
pre-commit
1m 31s
pyright
32s
Annotations
11 errors
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
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" cannot be assigned to type "int"
"None" is incompatible with "int" (reportGeneralTypeIssues)
|
pyright:
qdarktheme/_os_appearance/_accent/_mac_detect.py#L36
Cannot access member "encode" for type "bytearray"
Member "encode" is unknown (reportGeneralTypeIssues)
|
pyright:
qdarktheme/_os_appearance/_accent/_mac_detect.py#L36
Cannot access member "encode" for type "memoryview"
Member "encode" is unknown (reportGeneralTypeIssues)
|
pre-commit
Process completed with exit code 1.
|