Skip to content

Commit

Permalink
style: [ACI-1031] Try to fix linters v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KyryloKireiev committed Jul 16, 2024
1 parent c4534d8 commit 66c2b41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions credentials/apps/badges/processing/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def process_event(sender, **kwargs):
except BadgesProcessingError as error:
logger.error(f"Badges processing error: {error}")
return None
return None


def identify_user(*, event_type, event_payload):
Expand Down
2 changes: 1 addition & 1 deletion credentials/apps/badges/tests/test_issuers.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_revoke_credly_badge_success(self, mock_revoke_badge):
self.assertEqual(user_credential.state, "revoked")

@patch.object(CredlyAPIClient, "revoke_badge", side_effect=CredlyAPIError("Revocation failed"))
def test_revoke_credly_badge_failure(self, mock_revoke_badge): # type: ignore[unused-argument]
def test_revoke_credly_badge_failure(self, mock_revoke_badge): # pylint: disable=unused-argument
user_credential = self.issued_user_credential_type.objects.create(
username="test_user",
credential_content_type=ContentType.objects.get_for_model(self.badge_template),
Expand Down

0 comments on commit 66c2b41

Please sign in to comment.