Skip to content

Add rating field and rating field type #39

Add rating field and rating field type

Add rating field and rating field type #39

Triggered via push November 29, 2024 23:45
Status Failure
Total duration 16s
Artifacts

ruff.yaml

on: push
ruff-format
5s
ruff-format
ruff-check
6s
ruff-check
Fit to window
Zoom out
Zoom in

Annotations

22 errors
ruff-format
Process completed with exit code 1.
ruff-check
Process completed with exit code 1.
[mypy] tagstudio/src/qt/widgets/rating.py#L7: tagstudio/src/qt/widgets/rating.py#L7
Cannot assign to a method [method-assign]
[mypy] tagstudio/src/qt/widgets/rating.py#L7: tagstudio/src/qt/widgets/rating.py#L7
Incompatible types in assignment (expression has type "QHBoxLayout", variable has type "Callable[[], QLayout]") [assignment]
[mypy] tagstudio/src/qt/widgets/rating.py#L8: tagstudio/src/qt/widgets/rating.py#L8
"Callable[[], QLayout]" has no attribute "setSpacing" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L9: tagstudio/src/qt/widgets/rating.py#L9
Argument 1 to "setLayout" of "QWidget" has incompatible type "Callable[[], QLayout]"; expected "QLayout" [arg-type]
[mypy] tagstudio/src/qt/widgets/rating.py#L14: tagstudio/src/qt/widgets/rating.py#L14
Incompatible types in assignment (expression has type "QPushButton", variable has type "int") [assignment]
[mypy] tagstudio/src/qt/widgets/rating.py#L15: tagstudio/src/qt/widgets/rating.py#L15
"int" has no attribute "setCheckable" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L16: tagstudio/src/qt/widgets/rating.py#L16
"int" has no attribute "clicked" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L17: tagstudio/src/qt/widgets/rating.py#L17
"int" has no attribute "setStyleSheet" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L18: tagstudio/src/qt/widgets/rating.py#L18
"int" has no attribute "setFixedSize" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L20: tagstudio/src/qt/widgets/rating.py#L20
"Callable[[], QLayout]" has no attribute "addWidget" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L22: tagstudio/src/qt/widgets/rating.py#L22
Argument 1 to "index" of "list" has incompatible type "QObject"; expected "int" [arg-type]
[mypy] tagstudio/src/qt/widgets/rating.py#L25: tagstudio/src/qt/widgets/rating.py#L25
"int" has no attribute "setStyleSheet" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L27: tagstudio/src/qt/widgets/rating.py#L27
"int" has no attribute "setStyleSheet" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L32: tagstudio/src/qt/widgets/rating.py#L32
"int" has no attribute "deleteLater" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L35: tagstudio/src/qt/widgets/rating.py#L35
Incompatible types in assignment (expression has type "QPushButton", variable has type "int") [assignment]
[mypy] tagstudio/src/qt/widgets/rating.py#L36: tagstudio/src/qt/widgets/rating.py#L36
"int" has no attribute "setCheckable" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L37: tagstudio/src/qt/widgets/rating.py#L37
"int" has no attribute "clicked" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L38: tagstudio/src/qt/widgets/rating.py#L38
"int" has no attribute "setStyleSheet" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L39: tagstudio/src/qt/widgets/rating.py#L39
"int" has no attribute "setFixedSize" [attr-defined]
[mypy] tagstudio/src/qt/widgets/rating.py#L41: tagstudio/src/qt/widgets/rating.py#L41
"Callable[[], QLayout]" has no attribute "addWidget" [attr-defined]