Skip to content

Commit

Permalink
chore: fix pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed Dec 12, 2024
1 parent 5770b9e commit a9a3d06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def update_account_view(context, user, **kwargs):
finally:
for field in get_fields(custom_model_instance):
extended_profile_field = {
"field_name": _(field.name), # pylint: disable=translation-of-non-string
"field_label": _(field.verbose_name), # pylint: disable=translation-of-non-string
"field_name": _(field.name), # pylint: disable=translation-of-non-string
"field_label": _(field.verbose_name), # pylint: disable=translation-of-non-string
}
if isinstance(field, models.BooleanField):
extended_profile_field["field_type"] = "CheckboxField"
Expand Down

0 comments on commit a9a3d06

Please sign in to comment.