| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
standard library. Added some comments:
# XXX Note: this is now a standard library module.
# XXX The API needs to undergo changes however; the current code is too
# XXX script-like. This will be addressed later.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
If the filename being complained about contains a space, enclose the
file-name in quotes.
The reason is simply that when I try and parse tabnanny's output, filenames
with spaces make it very difficult to determine where the filename stops
and the linenumber begins!
"""
Tim approves.
I slightly changed the patch (use 'in' instead of string.find()) and
arbitrarily bumped the __version__ variable up to 6.
|
|
|
|
| |
offending files to be printed. Good for emacs `tabnanny.py *.py`
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last
line is both indented and lacks a newline:
if 1:
print 'oh fudge' # no newline here:
The attached version repairs that.
|
|
|
|
| |
(Jack)
|
| |
|
| |
|
| |
|
|
sensitive to tab size. Uses a different strategy than tabpolice.py,
but has compatible usage.
|