Skip to content

Commit f941406

Browse files
committed
1 parent 6fcd5e4 commit f941406

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

kaitaistruct.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
# runtime is compatible with the generated code.
2121
API_VERSION = (0, 10)
2222

23-
# pylint:disable=bad-indentation,too-many-public-methods,useless-object-inheritance,super-with-arguments
23+
# pylint: disable=invalid-name,missing-docstring,too-many-public-methods
24+
# pylint: disable=useless-object-inheritance,super-with-arguments,consider-using-f-string
25+
2426

2527
class KaitaiStruct(object):
2628
def __init__(self, stream):
@@ -453,7 +455,7 @@ class UndecidedEndiannessError(KaitaiStructError):
453455
implies that there should be some positive result).
454456
"""
455457
def __init__(self, src_path):
456-
super(KaitaiStructError, self).__init__("unable to decide on endianness for a type", src_path)
458+
super(UndecidedEndiannessError, self).__init__("unable to decide on endianness for a type", src_path)
457459

458460

459461
class ValidationFailedError(KaitaiStructError):

0 commit comments

Comments
 (0)