summaryrefslogtreecommitdiffstats
path: root/Lib/tabnanny.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2001-01-151-117/+116
|
* Added tabnanny.py, by Tim Peters, formerly from Tools/scripts, to theGuido van Rossum2000-02-231-0/+4
| | | | | | | | 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.
* Mark Hammond writes:Guido van Rossum1999-07-301-1/+3
| | | | | | | | | | | | | | | | """ 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.
* Added a -q ('quiet') option to tabnanny, which causes only the names ofAndrew M. Kuchling1998-12-181-3/+7
| | | | offending files to be printed. Good for emacs `tabnanny.py *.py`
* Print serious errors to stderr instead of stdout.Guido van Rossum1998-09-141-4/+11
|
* From: "Tim Peters" <tim_one@msn.com>Guido van Rossum1998-06-091-3/+9
| | | | | | | | | | 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.
* typo in error message (fname vs. file).Guido van Rossum1998-04-281-1/+1
| | | | (Jack)
* Tim's version 4, with my modsGuido van Rossum1998-04-101-14/+6
|
* Add usage message when no arguments.Guido van Rossum1998-04-061-0/+4
|
* Tim's latest version (supports old and new tokenize modules)Guido van Rossum1998-04-061-77/+128
|
* Tim Peters' program for checking whether a program's indentation isGuido van Rossum1998-03-311-0/+302
sensitive to tab size. Uses a different strategy than tabpolice.py, but has compatible usage.