Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Conform with new Python lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mythmon committed Oct 30, 2018
1 parent 0d7ebae commit 1c64270
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion normandy/base/auth_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class LoggingAuthBackendMixin(object):
"""

def get_username(self, **kwargs):
raise NotImplemented()
raise NotImplementedError

def authenticate(self, request, **kwargs):
result = super().authenticate(request, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion normandy/recipes/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def type(self):

def to_jexl(self):
"""Render this filter to a JEXL expression"""
raise NotImplemented()
raise NotImplementedError


class ChannelFilter(BaseFilter):
Expand Down
2 changes: 1 addition & 1 deletion normandy/recipes/signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def verify_signature(data, signature, pubkey):
raise WrongPublicKeySize()
else:
raise
except IndexError as e:
except IndexError:
raise WrongPublicKeySize()

try:
Expand Down

0 comments on commit 1c64270

Please sign in to comment.