fix lint issue: class_inherits_from_params_class