Perfect your code
With built-in code review tools, GitHub makes it easy to raise the quality bar before you ship. Join the 40 million developers who've merged over 200 million pull requests.
Sign up for free See pricing for teams and enterprisesMark 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. |
This comment has been minimized.
This comment has been minimized.
|
I removed the |
|
LGTM. |
This comment has been minimized.
This comment has been minimized.
|
It doesn't hide diffs completely, but just makes them collapsed by default? Then LGTM! |
c1897ed
into
python:master
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jun 15, 2018
|
Thanks @methane for the PR |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jun 15, 2018
|
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>
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jun 15, 2018
|
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>
This comment has been minimized.
This comment has been minimized.
|
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
methane commentedJun 11, 2018
•
edited
We can specify generated files in
.gitattributes.Github doesn't render diff for generated files by default.
Sample pull request