Lines Matching +full:check +full:- +full:whitespace
2 """Check proposed changes for common issues."""
15 # don't check their coding style
49 cmd = "git rev-parse --abbrev-ref HEAD".split()
54 encoding='UTF-8')
64 cmd = "git remote get-url upstream".split()
69 encoding='UTF-8')
87 encoding='UTF-8',
122 # We just use an existence check here as:
126 cmd = 'git diff --name-status ' + base_branch
128 cmd = 'git status --porcelain'
142 if ' -> ' in filename:
144 filename = filename.split(' -> ', 2)[1].strip()
172 @status("Fixing Python file whitespace", info=report_modified_files)
174 """Make sure that the whitespace for .py files have been normalized."""
177 reindent.check(os.path.join(SRCDIR, path))]
181 @status("Fixing C file whitespace", info=report_modified_files)
197 @status("Fixing docs whitespace", info=report_modified_files)
224 """Check if Misc/ACKS has been changed."""
230 """Check if Misc/NEWS.d has been changed."""
236 """Check if configure has been regenerated."""
244 """Check if pyconfig.h.in has been regenerated."""
265 print('No whitespace issues found')
267 print(f'Please fix the {len(fixed)} file(s) with whitespace issues')
279 # PEP 8 whitespace rules enforcement.
283 # Doc whitespace enforcement.
298 end = " and check for refleaks?" if c_files else "?"
306 parser.add_argument('--ci',