@@ -97,7 +97,7 @@ def skip(self, decoder: ReadableDecoder) -> None:
9797 ...
9898
9999 def __repr__ (self ) -> str :
100- """Returns the string representation of the Reader class."""
100+ """Return the string representation of the Reader class."""
101101 return f"{ self .__class__ .__name__ } ()"
102102
103103
@@ -217,11 +217,11 @@ def skip(self, decoder: ReadableDecoder) -> None:
217217 decoder .skip (len (self ))
218218
219219 def __len__ (self ) -> int :
220- """Returns the length of an instance of the FixedReader class."""
220+ """Return the length of an instance of the FixedReader class."""
221221 return self ._len
222222
223223 def __repr__ (self ) -> str :
224- """Returns the string representation of the FixedReader class."""
224+ """Return the string representation of the FixedReader class."""
225225 return f"FixedReader({ self ._len } )"
226226
227227
@@ -263,7 +263,7 @@ def skip(self, decoder: ReadableDecoder) -> None:
263263 decoder .skip_bytes ()
264264
265265 def __repr__ (self ) -> str :
266- """Returns the string representation of the DecimalReader class."""
266+ """Return the string representation of the DecimalReader class."""
267267 return f"DecimalReader({ self .precision } , { self .scale } )"
268268
269269
@@ -346,19 +346,19 @@ def skip(self, decoder: ReadableDecoder) -> None:
346346 field .skip (decoder )
347347
348348 def __eq__ (self , other : Any ) -> bool :
349- """Returns the equality of two instances of the StructReader class."""
349+ """Return the equality of two instances of the StructReader class."""
350350 return (
351351 self .field_readers == other .field_readers and self .create_struct == other .create_struct
352352 if isinstance (other , StructReader )
353353 else False
354354 )
355355
356356 def __repr__ (self ) -> str :
357- """Returns the string representation of the StructReader class."""
357+ """Return the string representation of the StructReader class."""
358358 return f"StructReader(({ ',' .join (repr (field ) for field in self .field_readers )} ), { repr (self .create_struct )} )"
359359
360360 def __hash__ (self ) -> int :
361- """Returns a hashed representation of the StructReader class."""
361+ """Return a hashed representation of the StructReader class."""
362362 return self ._hash
363363
364364
@@ -392,7 +392,7 @@ def skip(self, decoder: ReadableDecoder) -> None:
392392 _skip_map_array (decoder , lambda : self .element .skip (decoder ))
393393
394394 def __hash__ (self ) -> int :
395- """Returns a hashed representation of the ListReader class."""
395+ """Return a hashed representation of the ListReader class."""
396396 return self ._hash
397397
398398
@@ -492,5 +492,5 @@ def skip() -> None:
492492 _skip_map_array (decoder , skip )
493493
494494 def __hash__ (self ) -> int :
495- """Returns a hashed representation of the MapReader class."""
495+ """Return a hashed representation of the MapReader class."""
496496 return self ._hash
0 commit comments