[pre-commit.ci] pre-commit autoupdate #241
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
code-checks.yml
on: pull_request
pre-commit
1m 42s
pyright
44s
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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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"
Type "None" cannot be assigned to type "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.
|