From f0e578b1a6b67b017ec47a6cf5b040630ce36f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B6hr?= Date: Thu, 19 Dec 2019 21:05:16 +0100 Subject: [PATCH] Make flake8 happy by reducing line length in exceptionmessage --- serpy/serializer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serpy/serializer.py b/serpy/serializer.py index 02bc570..ed519c7 100644 --- a/serpy/serializer.py +++ b/serpy/serializer.py @@ -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(