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