Skip to content

Commit

Permalink
Fix some linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Nov 12, 2024
1 parent fcc32c9 commit ec3d4e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/charms/smtp_integrator/v0/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ def get_relation_data(self) -> Optional[SmtpRelationData]:
relation = self.model.get_relation(self.relation_name)
return self._get_relation_data_from_relation(relation) if relation else None

def _get_relation_data_from_relation(self, relation: ops.Relation) -> Optional[SmtpRelationData]:
def _get_relation_data_from_relation(
self, relation: ops.Relation
) -> Optional[SmtpRelationData]:
"""Retrieve the relation data.
Args:
Expand Down

0 comments on commit ec3d4e3

Please sign in to comment.