Fix tests and lint

This commit is contained in:
zandercymatics 2024-09-23 12:20:53 -06:00
parent aa926ec88b
commit d8227148f6
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
5 changed files with 22 additions and 10 deletions

View file

@ -36,4 +36,4 @@ class UserPortfolioPermissionChoices(models.TextChoices):
@classmethod
def get_user_portfolio_permission_label(cls, user_portfolio_permission):
return cls(user_portfolio_permission).label if user_portfolio_permission else None
return cls(user_portfolio_permission).label if user_portfolio_permission else None