Remove pass if we have a docstring

This commit is contained in:
Simon Cozens 2021-03-19 10:48:58 +00:00
parent 5d7c826b0b
commit baf6c5d1e1

View File

@ -115,32 +115,22 @@ class FoundANone(VarLibMergeError):
class MismatchedTypes(VarLibMergeError): class MismatchedTypes(VarLibMergeError):
"""data had inconsistent types""" """data had inconsistent types"""
pass
class LengthsDiffer(VarLibMergeError): class LengthsDiffer(VarLibMergeError):
"""a list of objects had inconsistent lengths""" """a list of objects had inconsistent lengths"""
pass
class KeysDiffer(VarLibMergeError): class KeysDiffer(VarLibMergeError):
"""a list of objects had different keys""" """a list of objects had different keys"""
pass
class InconsistentGlyphOrder(VarLibMergeError): class InconsistentGlyphOrder(VarLibMergeError):
"""the glyph order was inconsistent between masters""" """the glyph order was inconsistent between masters"""
pass
class InconsistentExtensions(VarLibMergeError): class InconsistentExtensions(VarLibMergeError):
"""the masters use extension lookups in inconsistent ways""" """the masters use extension lookups in inconsistent ways"""
pass
class UnsupportedFormat(VarLibMergeError): class UnsupportedFormat(VarLibMergeError):
"""an OpenType subtable (%s) had a format I didn't expect""" """an OpenType subtable (%s) had a format I didn't expect"""
@ -154,7 +144,6 @@ class UnsupportedFormat(VarLibMergeError):
class UnsupportedFormat(UnsupportedFormat): class UnsupportedFormat(UnsupportedFormat):
"""an OpenType subtable (%s) had inconsistent formats between masters""" """an OpenType subtable (%s) had inconsistent formats between masters"""
pass
class VarLibCFFMergeError(VarLibError): class VarLibCFFMergeError(VarLibError):
pass pass