Benjamin Peterson
501447d7c7
don't recurse into directories that start with '.'
2008-10-15 20:34:09 +00:00
Brett Cannon
a8b09fd4c3
Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script does
...
some verification:
- Runs reindent.py on all .py files.
- Checks if any changes in Doc exist.
- Whether Misc/ACKS was changed.
- Whether Misc/NEWS was changed.
The hope is that ``make check`` can become a command anybody can run to get
reminders about what all the requisite steps needed to create a proper
patch/checkin.
2008-03-18 17:25:13 +00:00
Facundo Batista
f88a077f69
Now we handle different the backup copy, because of security
...
issues regarding user/group and permissions. Fixes 1050828.
2008-02-17 16:21:13 +00:00
Georg Brandl
04233ee5e1
Make reindent.py executable.
2007-06-07 13:30:24 +00:00
Skip Montanaro
165163f245
add usage() function, -h(elp) flag and long versions of short flags
2004-03-27 18:43:56 +00:00
Skip Montanaro
9a29e7aba3
operate as a filter when no files or directories appear on the command line
2002-03-26 11:39:26 +00:00
Tim Peters
54e5b89d77
SF bug #497839 : reindent chokes on empty first lines.
...
Reindenter.run(): copy over initial all-whitespace lines (if any, and
after normalizing to remove trailing blanks and tabs).
Bugfix candidate.
2002-02-17 07:03:05 +00:00
Tim Peters
ba001a0b67
Changed the reindenter to strip only trailing spaces and tabs from lines,
...
not other control characters string.rstrip() got rid of. This caters to
the \f thingies Barry likes putting in Python source files.
2001-10-04 19:44:10 +00:00
Tim Peters
ad14720262
New tool for normalizing indentation of .py files.
2000-10-05 03:48:38 +00:00