No value for argument 'infiles_wildcard' in function call
254 % (argv[1], dedent(main.__doc__.format(cmd=cmd)))
255 )
256
257 import_files_into_excel_workbook(*argv[1:])258
259
260if __name__ == "__main__":
No value for argument 'veh_num' in function call
820 ndiff_gears,
821 ndiff_gears_accel,
822 ndiff_gears_orig,
823 ) = read_and_compare_experiment(inpfname, veh_num)824
825 ax = fig.axes()
826 _plotResults(os.path.basename(inpfname), df_my, df_hz, ndiff_gears, ax)
No value for argument 'wltc_class' in function call
143 import sys
144
145 if len(sys.argv) > 1:
146 print_class_data(*sys.argv[1:])147 else:
148 for wltc_class in sorted(wltc_data_files):
149 print_class_data(wltc_class, True)
Description
A required function parameter isn't provided while calling the function. This is an error.
Bad practice
def add_student(student, section):
students[section].append(student)
add_student("Aaron") # Missing parameter `section`
Recommended
def add_student(student, section):
students[section].append(student)
add_student("Aaron", "10A")