mypy: fix mypy errors in wladmin module. Rel: #3703 #5697
Annotations
11 errors
mypy
Process completed with exit code 1.
|
mypy:
weblate/billing/models.py#L161
Need type annotation for "owners"
|
mypy:
weblate/billing/models.py#L196
Incompatible types in assignment (expression has type "BillingManager", variable has type "BillingQuerySet")
|
mypy:
weblate/billing/models.py#L204
"ManyRelatedManager[User, Any]" has no attribute "order"
|
mypy:
weblate/billing/models.py#L359
"Billing" has no attribute "invoice_set"
|
mypy:
weblate/billing/models.py#L400
'Settings' object has no attribute 'BILLING_GRACE_PERIOD'
|
mypy:
weblate/billing/models.py#L403
"Billing" has no attribute "invoice_set"
|
mypy:
weblate/billing/models.py#L416
'Settings' object has no attribute 'BILLING_REMOVAL_PERIOD'
|
mypy:
weblate/billing/models.py#L546
"Invoice" has no attribute "billing_id"; maybe "billing"?
|
mypy:
weblate/billing/models.py#L569
"Invoice" has no attribute "billing_id"; maybe "billing"?
|
mypy:
weblate/billing/models.py#L612
"Project" has no attribute "billing_set"
|