api/bioptim_gui_api/penalty/misc/penalty_printer.py
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self.penalty_type == "CUSTOM", "This function should only be called for custom penalty"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert function_name is not None, "The function argument is missing"
- Exclude checks
File not formatted according to black style guide Open
Open
return ret
- Exclude checks