liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.45k stars 223 forks source link

Space after/before methods/class declaration: IndentationError: unindent does not match any outer indentation level #88

Open AureleDurand opened 7 years ago

AureleDurand commented 7 years ago

Hello,

Just for your information:

I have faced a lot of 'IndentationError: unindent does not match any outer indentation level' with my python codes using pyminifier and each times they were due to:

Space after methods/class declaration (I have represented spaces by dots here):

def my_method:...
....some stuff

or by comment before methods/class:

""" comment """
def my_method:
    some stuff

Best regards