Adam Turner
cc6839a181
GH-109408: Stop running patchcheck in CI ( #109895 )
2024-08-03 12:52:21 +01:00
Victor Stinner
d9b4316374
gh-120417: Remove unused imports in Tools ( #120623 )
2024-06-17 18:09:26 +02:00
Hugo van Kemenade
de956b263b
gh-109408: Revert pre-commit whitespace checks pending portable solution ( #110726 )
2023-10-11 16:12:28 +00:00
Adam Turner
f5edb56328
GH-109408: Move the C file whitespace check from patchcheck to pre-commit ( #109890 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-10 07:40:08 -06:00
Adam Turner
08ec4a1dbf
GH-109408: Move the Python file whitespace check from patchcheck to pre-commit ( #109891 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-10 09:17:53 +00:00
Hugo van Kemenade
7426ed0347
gh-109408: Add the docs whitespace check from patchcheck to pre-commit ( #109854 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-10 08:11:51 +00:00
Victor Stinner
b89ed9df39
gh-109615: Fix support test_copy_python_src_ignore() ( #109958 )
...
Fix the test when run on an installed Python: use "abs_srcdir" of
sysconfig, and skip the test if the Python source code cannot be
found.
* Tools/patchcheck/patchcheck.py, Tools/freeze/test/freeze.py and
Lib/test/libregrtest/utils.py now first try to get "abs_srcdir"
from sysconfig, before getting "srcdir" from sysconfig.
* test.pythoninfo logs sysconfig "abs_srcdir".
2023-09-27 12:32:12 +02:00
Nikita Sobolev
40db5c65b7
gh-103334: Ignore Tools/c-analyzer/cpython/_parser.py
from patchcheck
(GH-103335)
...
I've also added a small comment to `Tools/c-analyzer/cpython/_parser.py` to trigger the `patchcheck` CI. It must pass now.
Automerge-Triggered-By: GH:ericsnowcurrently
2023-04-10 07:58:48 -07:00
Oleg Iarygin
86d2044155
gh-103300: Fix Popen.wait()
deadlock in patchcheck.py ( #103301 )
2023-04-09 13:48:53 +05:30
Zachary Ware
025b5c3780
gh-100540: Remove unused Modules/_ctypes/libffi_osx/ (GH-100543)
...
It was an ancient, modified copy of libffi that has not been in use
since GH-22855.
2022-12-28 13:38:52 -06:00
Victor Stinner
0895c2a066
gh-97669: Create Tools/patchcheck/ directory ( #98186 )
...
Move patchcheck.py, reindent.py and untabify.py scripts to a new
Tools/patchcheck/ directory.
2022-10-12 10:09:21 +02:00