File .deepsource.toml
not found in the default branch of the repository root. Please refer to the docs.
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
Instead of adding items to a dictionary just after creation, it should be refactored to add those items into the dict definition itself.
env = {}
env['HOST'] = 'example.com'
env['PORT'] = 8080
env = {'HOST': 'example.com', 'PORT': 8080}