Skip to content
Prev Previous commit
Next Next commit
Reinstate doc_files for docs_modified
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
hugovk and AA-Turner authored Sep 26, 2023
commit 63c6d17a895e7a0abb19f08781ac82390c283d88
2 changes: 2 additions & 0 deletions Tools/patchcheck/patchcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def main():
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'))]
Comment thread
hugovk marked this conversation as resolved.
doc_files = [fn for fn in file_paths if fn.startswith('Doc') and
fn.endswith(('.rst', '.inc'))]
misc_files = {p for p in file_paths if p.startswith('Misc')}
# PEP 8 whitespace rules enforcement.
normalize_whitespace(python_files)
Expand Down