summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/patchcheck.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-31221: patchcheck ignores external libraries (#3109) (#3118)Victor Stinner2017-08-171-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | * bpo-31221: patchcheck ignores external libraries (#3109) Tools/scripts/patchcheck.py now ignores changes in directories which are copies of external libraries: * Modules/_ctypes/libffi_msvc/ * Modules/_ctypes/libffi_osx/ * Modules/_decimal/libmpdec/ * Modules/expat/ * Modules/zlib/ Drop also support for Mercurial, since CPython migrated to Git. Exclude also libmpdec patchcheck: exclude also libffi_osx and libffi_msvc (cherry picked from commit 4a347ce426fe7381885703d9074d7a6b3aeb2f2b) * Exclude also Modules/_ctypes/libffi on Python 2.7 * Remove _decimal/libmpdec, not in Python 2.7
* Issue #29798: Handle git worktree in patchcheck (#1057)Nick Coghlan2017-04-091-1/+1
| | | | The original attempted fix missed an `isdir()` call in `get_base_branch()`.
* bpo-29798: Handle git worktree in `make patchcheck` (#629) (#635)Nick Coghlan2017-03-121-1/+4
| | | | | In git worktree directories, `.git` is a configuration file rather than a subdirectory (cherry picked from commit 6a6d090612dd7deaac2bc0399fad743e5e2db606)
* [2.7] bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#628)Nick Coghlan2017-03-121-20/+74
| | | | | | | | | | Additional changes needed to backport: - dropped legacy SVN support from patchcheck - use subprocess.PIPE to silence expected error output - don't try to use subprocess.Popen as a context manager - don't try to pass a keyword argument to str.split() (cherry picked from commit 482f7a274fa52b7ba34ff308cd9acdcac9f41ba5)
* Closes #22663: patchcheck: only modify text files under Doc/Georg Brandl2014-10-191-1/+2
|
* Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.Terry Jan Reedy2013-07-221-5/+6
|
* Add a note about checking refleaks to patchcheck.Ezio Melotti2013-01-111-1/+2
|
* Issue #14053: Fix "make patchcheck" to work with MQ.Nadeem Vawda2012-02-221-0/+16
| | | | Patch by Francisco Martín Brugué
* patchcheck: don’t talk about the test suite when no code file were changed.Éric Araujo2011-08-191-2/+3
| | | | | | The line about the test suite will still get printed for changes in Tools for example, which aren’t covered by the test suite, but it’s not a big deal IMO.
* Let “make patchcheck” work for out-of-dir builds (#9860)Éric Araujo2011-07-301-7/+13
|
* Fix missing or shebangs and executable bits for scripts (#10318)Éric Araujo2011-07-291-0/+1
|
* Merged revisions 85766-85767 via svnmerge fromGeorg Brandl2010-11-261-35/+103
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85766 | georg.brandl | 2010-10-21 09:40:03 +0200 (Do, 21 Okt 2010) | 1 line #10159: sort completion matches before comparing to dir() result. ........ r85767 | georg.brandl | 2010-10-21 14:49:28 +0200 (Do, 21 Okt 2010) | 1 line #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing. ........
* rewrite verbose conditionalsBenjamin Peterson2009-01-101-2/+2
|
* Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script doesBrett Cannon2008-03-181-0/+90
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.