Skip to content

Commit

Permalink
chore: fix pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV authored and igobranco committed Jan 3, 2025
1 parent 3cb0e11 commit 5ef3cac
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 5ef3cac

Please sign in to comment.