Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Conversation
A non-blank non-shell window should end with exactly one newline following something other than space, tab, or newline. It should then be ready to commit to the cpython repository.
miss-islington added a commit to miss-islington/cpython that referenced this pull request
miss-islington added a commit to miss-islington/cpython that referenced this pull request
terryjreedy added a commit to terryjreedy/cpython that referenced this pull request
…ythonGH-17366) Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from commit 6bf644e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Merged
terryjreedy added a commit to terryjreedy/cpython that referenced this pull request
…ythonGH-17366) Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from commit 6bf644e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy added a commit that referenced this pull request
terryjreedy added a commit that referenced this pull request
jacobneiltaylor added a commit to jacobneiltaylor/cpython that referenced this pull request
…GH-17366) Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py.