Showing 5,781 of 10,536 total issues
Consider simplifying this complex logical expression. Open
Open
if 'values_saving' not in reporting_period_data.keys() or \
reporting_period_data['values_saving'] is None or \
len(reporting_period_data['values_saving']) == 0 or \
'timestamps' not in reporting_period_data.keys() or \
reporting_period_data['timestamps'] is None or \
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function generate_excel
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def generate_excel(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function generate_excel
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def generate_excel(report,
Function generate_excel
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def generate_excel(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function generate_excel
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def generate_excel(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Consider simplifying this complex logical expression. Open
Open
if "associated_equipment" not in report.keys() or \
"energy_category_names" not in report['associated_equipment'].keys() or \
len(report['associated_equipment']["energy_category_names"]) == 0 \
or 'associated_equipment_names_array' not in report['associated_equipment'].keys() \
or report['associated_equipment']['associated_equipment_names_array'] is None \
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Consider simplifying this complex logical expression. Open
Open
if "associated_equipment" not in report.keys() or \
"energy_category_names" not in report['associated_equipment'].keys() or \
len(report['associated_equipment']["energy_category_names"]) == 0 \
or 'associated_equipment_names_array' not in report['associated_equipment'].keys() \
or report['associated_equipment']['associated_equipment_names_array'] is None \
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,
Function generate_excel
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def generate_excel(report,
Consider simplifying this complex logical expression. Open
Open
if 'values_saving' not in reporting_period_data.keys() or \
reporting_period_data['values_saving'] is None or \
len(reporting_period_data['values_saving']) == 0 or \
'timestamps' not in reporting_period_data.keys() or \
reporting_period_data['timestamps'] is None or \
Function export
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export(report,