from struct import unpack

class KaitaiStruct:
  def read_u1(self):
    return unpack('B', self._io.read(1))[0]

from struct import unpack

class KaitaiStruct:
    def close(self):
        self._io.close()

    def read_u1(self):
        return unpack('B', self._io.read(1))[0]

Fix formatting as per PEP8
Fix formatting as per PEP8

  from struct import unpack
  
  class KaitaiStruct:
-   def read_u1(self):
-     return unpack('B', self._io.read(1))[0]
+     def close(self):
+         self._io.close()
  
+     def read_u1(self):
+         return unpack('B', self._io.read(1))[0]
+ 
Fix formatting as per PEP8
## Code Before:
from struct import unpack

class KaitaiStruct:
  def read_u1(self):
    return unpack('B', self._io.read(1))[0]

## Instruction:
Fix formatting as per PEP8
## Code After:
from struct import unpack

class KaitaiStruct:
    def close(self):
        self._io.close()

    def read_u1(self):
        return unpack('B', self._io.read(1))[0]
