Switch to flake8

This commit is contained in:
stijndcl 2022-07-11 22:23:38 +02:00
parent 61128dda92
commit dd66087193
33 changed files with 138 additions and 31 deletions

View file

@ -1,2 +1,5 @@
__all__ = ["DuplicateInsertException"]
class DuplicateInsertException(Exception):
"""Exception raised when a value already exists"""

View file

@ -1,3 +1,6 @@
__all__ = ["DoubleNightly", "NotEnoughDinks"]
class DoubleNightly(Exception):
"""Exception raised when claiming nightlies multiple times per day"""

View file

@ -1,2 +1,5 @@
__all__ = ["NoResultFoundException"]
class NoResultFoundException(Exception):
"""Exception raised when nothing was found"""