Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopicchio committed Sep 22, 2023
1 parent 43a29f7 commit 7973ef7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/peoplefinder/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,10 +804,12 @@ def get_office_location_display(self) -> Optional[str]:
return self.international_building
if self.uk_office_location and not self.location_in_building:
return self.uk_office_location.name
return mark_safe(
self.uk_office_location.name + "<br>" + strip_tags(self.location_in_building)
return mark_safe( # noqa: S308
self.uk_office_location.name
+ "<br>"
+ strip_tags(self.location_in_building)
)

def get_manager_display(self) -> Optional[str]:
if self.manager:
return mark_safe( # noqa: S308
Expand Down

0 comments on commit 7973ef7

Please sign in to comment.