From baf6c5d1e10cc48f002d319be5b572e38bd573b8 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Fri, 19 Mar 2021 10:48:58 +0000 Subject: [PATCH] Remove pass if we have a docstring --- Lib/fontTools/varLib/errors.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Lib/fontTools/varLib/errors.py b/Lib/fontTools/varLib/errors.py index a2108ea36..5840070f7 100644 --- a/Lib/fontTools/varLib/errors.py +++ b/Lib/fontTools/varLib/errors.py @@ -115,32 +115,22 @@ class FoundANone(VarLibMergeError): class MismatchedTypes(VarLibMergeError): """data had inconsistent types""" - pass - class LengthsDiffer(VarLibMergeError): """a list of objects had inconsistent lengths""" - pass - class KeysDiffer(VarLibMergeError): """a list of objects had different keys""" - pass - class InconsistentGlyphOrder(VarLibMergeError): """the glyph order was inconsistent between masters""" - pass - class InconsistentExtensions(VarLibMergeError): """the masters use extension lookups in inconsistent ways""" - pass - class UnsupportedFormat(VarLibMergeError): """an OpenType subtable (%s) had a format I didn't expect""" @@ -154,7 +144,6 @@ class UnsupportedFormat(VarLibMergeError): class UnsupportedFormat(UnsupportedFormat): """an OpenType subtable (%s) had inconsistent formats between masters""" - pass class VarLibCFFMergeError(VarLibError): pass