Skip to content

Add Python 3.12 Support, Drop Python 3.7 #248

Add Python 3.12 Support, Drop Python 3.7

Add Python 3.12 Support, Drop Python 3.7 #248

Triggered via pull request November 16, 2023 19:55
Status Failure
Total duration 1m 43s
Artifacts

code-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.