Skip to content

Commit

Permalink
Merge pull request #2017 from kingosticks/ignore-flake8-exception
Browse files Browse the repository at this point in the history
Ignore N818 flake8 lint on existing exception classes (#1988)
  • Loading branch information
kingosticks committed Sep 10, 2021
2 parents b7ac857 + c14947c commit b10f311
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mopidy/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class MopidyException(Exception):
class MopidyException(Exception): # noqa: N818
def __init__(self, message, *args, **kwargs):
super().__init__(message, *args, **kwargs)
self._message = message
Expand Down Expand Up @@ -39,13 +39,13 @@ class ScannerError(MopidyException):
pass


class TracklistFull(CoreError):
class TracklistFull(CoreError): # noqa: N818
def __init__(self, message, errno=None):
super().__init__(message, errno)
self.errno = errno


class AudioException(MopidyException):
class AudioException(MopidyException): # noqa: N818
pass


Expand Down

0 comments on commit b10f311

Please sign in to comment.