libtcod / python-tcod

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
BSD 2-Clause "Simplified" License
410 stars 36 forks source link

Use consistent whitespace in example code #59

Closed tcampbell closed 5 years ago

tcampbell commented 5 years ago

This fixes the inconsistent whitespace in the example code that prevents it from running:

$ python termbox.py
  File "termbox.py", line 173
    except tdl.TDLException as e:
                                ^
TabError: inconsistent use of tabs and spaces in indentation
HexDecimal commented 5 years ago

Ideally, formatting fixes should try to follow PEP 8. This is my fault since I never mentioned it in the contributing guidelines.

I'll go ahead and fix this myself. Sorry for not being clear.