uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

Appending to dictionary immediately following its definition PY-W0072
Anti-pattern
Major
a year agoa year old
Appending to list immediately following its definition
1262        return flat_fee_prev_invoices + (billed_invoices or 0)
1263
1264    def get_usage_and_revenue(self):
1265        sub_dict = {}1266        sub_dict["components"] = []
1267        # set up the billing plan for this subscription
1268        plan = self.billing_plan