Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Jan 20, 2024
1 parent bde1d78 commit 758b2ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ansible-webui/aw/model/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class JobPermissionMemberUser(BareModel):
permission = models.ForeignKey(JobPermission, on_delete=models.CASCADE)

def __str__(self) -> str:
# pylint: disable=E1101
return f"Permission '{self.permission.name}' member user '{self.user.username}'"


Expand Down Expand Up @@ -146,6 +147,7 @@ class JobExecution(MetaJob):
comment = models.CharField(max_length=150, null=True, default=None, blank=True)

def __str__(self) -> str:
# pylint: disable=E1101
status_name = CHOICES_JOB_EXEC_STATUS[int(self.status)][1]
executor = 'scheduled'
if self.user is not None:
Expand Down

0 comments on commit 758b2ba

Please sign in to comment.