summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/tabnanny.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.