8000 GH-109408: Move the C file whitespace check from patchcheck to pre-commit by AA-Turner · Pull Request #109890 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-109408: Move the C file whitespace check from patchcheck to pre-commit #109890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Oct 10, 2023
Prev Previous commit
Next Next commit
unused variable
  • Loading branch information
AA-Turner committed Sep 26, 2023
commit 25688d9e43f77034bce6346b58578dcea515018a
1 change: 0 additions & 1 deletion Tools/patchcheck/patchcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ def ci(pull_request):
base_branch = get_base_branch()
file_paths = changed_files(base_branch)
python_files = [fn for fn in file_paths if fn.endswith('.py')]
c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
doc_files = [fn for fn in file_paths if fn.startswith('Doc') and
fn.endswith(('.rst', '.inc'))]
fixed = []
Expand Down
0