[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] tabnanny results of pygame site directory



I noticed a tab inconsistency while brosing some of the pygame code with
HAPDebugger (my favorite python/pygame IDE). So I ran the tabnanny module on
the pygame site directory and this is what it spit out:

>>> import tabnanny as tn
>>> d = r'C:\Python22\Lib\site-packages\pygame'
>>> tn.verbose = 1
>>> tn.check(d)

'C:\\Python22\\Lib\\site-packages\\pygame': listing directory
'C:\\Python22\\Lib\\site-packages\\pygame\\cursors.py': *** Line 183:
trouble in
 tab city! ***
offending line: '            mask = mask[line:]\n'
indent not greater e.g. at tab sizes 12, 13
'C:\\Python22\\Lib\\site-packages\\pygame\\__init__.py': Clean bill of
health.
'C:\\Python22\\Lib\\site-packages\\pygame\\version.py': Clean bill of
health.
'C:\\Python22\\Lib\\site-packages\\pygame\\locals.py': Clean bill of health.
'C:\\Python22\\Lib\\site-packages\\pygame\\sprite.py': *** Line 493: trouble
in
tab city! ***
offending line: '\tif callable(bgd):\n'
indent not equal e.g. at tab sizes 1, 2, 3, 4, 5, 6, 7, 9

-Michael


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org