fix(forms): add missing "type" attribute to button element #6183
Annotations
11 errors
mypy
Process completed with exit code 1.
|
mypy:
weblate/trans/forms.py#L331
Need type annotation for "placeables_set" (hint: "placeables_set: set[<type>] = ...")
|
mypy:
weblate/trans/forms.py#L532
"Field" has no attribute "choices"
|
mypy:
weblate/trans/forms.py#L542
"Field" has no attribute "choices"
|
mypy:
weblate/trans/forms.py#L642
"Field" has no attribute "choices"
|
mypy:
weblate/trans/forms.py#L689
"Field" has no attribute "name"
|
mypy:
weblate/trans/forms.py#L693
"Field" has no attribute "choices"
|
mypy:
weblate/trans/forms.py#L694
"Field" has no attribute "choices"
|
mypy:
weblate/trans/forms.py#L734
Incompatible types in assignment (expression has type "type[UploadForm]", variable has type "type[ExtraUploadForm]")
|
mypy:
weblate/trans/forms.py#L736
Incompatible types in assignment (expression has type "type[SimpleUploadForm]", variable has type "type[ExtraUploadForm]")
|
mypy:
weblate/trans/forms.py#L738
"Field" has no attribute "choices"
|