Skip to content

Commit

Permalink
Make flake8 happy by reducing line length in exceptionmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobstoehr committed Dec 19, 2019
1 parent d2b72b6 commit f0e578b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serpy/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ def __new__(cls, name, bases, attrs):
exclude = getattr(meta, 'exclude', None)
if not model:
raise RuntimeError(
'If you specifiy a Meta class, you need to atleast specify a model'
'If you specifiy a Meta class, you need to specify a model'
)
if not fields and not exclude:
raise RuntimeError(
'You need to specifiy either `fields` or `exclude` in your Meta class.'
'You need to specifiy either `fields` or `exclude` in Meta'
)
if fields and exclude:
raise RuntimeError(
Expand Down

0 comments on commit f0e578b

Please sign in to comment.