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
Mark importlib and clinic headers as generated #7619
Conversation
Looks good, but there are several other generated files that we could also list here, like the unicodedata files, graminit, python-ast, etc.
|
I removed the |
|
It doesn't hide diffs completely, but just makes them collapsed by default? Then LGTM! |
|
Thanks @methane for the PR |
|
GH-7707 is a backport of this pull request to the 3.7 branch. |
Marked files are collapsed by default in Github pull request. https://github.com/github/linguistGH-generated-code (cherry picked from commit c1897ed) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
|
GH-7708 is a backport of this pull request to the 3.6 branch. |
Marked files are collapsed by default in Github pull request. https://github.com/github/linguistGH-generated-code (cherry picked from commit c1897ed) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
|
It doesn't hide diffs completely, but just makes them collapsed by default?
You are right. Generated files are collapsed by default. Reviewer can
uncollapse them when they want.
--
INADA Naoki <songofacandy@gmail.com>
|
Marked files are collapsed by default in Github pull request. https://github.com/github/linguistGH-generated-code (cherry picked from commit c1897ed) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
Marked files are collapsed by default in Github pull request. https://github.com/github/linguistGH-generated-code (cherry picked from commit c1897ed) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
Marked files are collapsed by default in Github pull request. https://github.com/github/linguist#generated-code
Marked files are collapsed by default in Github pull request. https://github.com/github/linguist#generated-code
We can specify generated files in
.gitattributes.Github doesn't render diff for generated files by default.
Sample pull request