Skip to content
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

Merged
merged 2 commits into from Jun 15, 2018
Merged

Conversation

@methane
Copy link
Member

@methane methane commented Jun 11, 2018

We can specify generated files in .gitattributes.
Github doesn't render diff for generated files by default.

Sample pull request

Copy link
Member

@zware zware left a comment

Looks good, but there are several other generated files that we could also list here, like the unicodedata files, graminit, python-ast, etc.

@zware
Copy link
Member

@zware zware commented Jun 13, 2018

I removed the needs backport to 2.7 label; clinic and importlib*.h don't exist in 2.7.

zware
zware approved these changes Jun 15, 2018
Copy link
Member

@zware zware left a comment

LGTM.

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 15, 2018

It doesn't hide diffs completely, but just makes them collapsed by default? Then LGTM!

@methane methane merged commit c1897ed into python:master Jun 15, 2018
9 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 15, 2018

Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒🤖 I'm not a witch! I'm not a witch!

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 15, 2018

GH-7707 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit to miss-islington/cpython that referenced this issue Jun 15, 2018
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>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 15, 2018

GH-7708 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit to miss-islington/cpython that referenced this issue Jun 15, 2018
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>
@methane
Copy link
Member Author

@methane methane commented Jun 15, 2018

miss-islington added a commit that referenced this issue Jun 15, 2018
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>
miss-islington added a commit that referenced this issue Jun 15, 2018
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>
lisroach added a commit to lisroach/cpython that referenced this issue Sep 10, 2018
yahya-abou-imran added a commit to yahya-abou-imran/cpython that referenced this issue Nov 2, 2018
@methane methane deleted the generated branch Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants