-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Adopt native-Python code generation convention #1321
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
Conversation
47b9ec2
to
fd36e82
Compare
Codecov Report
@@ Coverage Diff @@
## master #1321 +/- ##
==========================================
+ Coverage 65.89% 66.36% +0.47%
==========================================
Files 75 75
Lines 5785 5944 +159
Branches 885 934 +49
==========================================
+ Hits 3812 3945 +133
- Misses 1708 1730 +22
- Partials 265 269 +4
Continue to review full report at Codecov.
|
fd36e82
to
33c6faf
Compare
bf35a3f
to
9a513d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is more readable than the macros, but I'd like to see the guidelines for when to add the declarations in the py
instead of the yaml.in
file.
.circleci/regenerate.py
Outdated
should be at the top of the file for easy updating. | ||
|
||
See this document for design rationale: | ||
https://fb.quip.com/zxJaAMOrNZ2S |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have access to this document, would it make sense to put it in a public link, like a gist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, posted below.
|
use flake8 with Python 3 on .circleci directory
9a513d3
to
3e3a495
Compare
Compare to application to vision repo in pytorch#1321 See rationale writeup: pytorch/vision#1321 (comment)
Closes pytorch#304 See rationale writeup: pytorch/vision#1321 (comment)
Closes pytorch#304 See rationale writeup: pytorch/vision#1321 (comment)
Closes pytorch#304 See rationale writeup: pytorch/vision#1321 (comment)
Closes pytorch#304 See rationale writeup: pytorch/vision#1321 (comment)
Closes pytorch#304 See rationale writeup: pytorch/vision#1321 (comment)
Closes pytorch#304 See rationale writeup: pytorch/vision#1321 (comment)
Closes #304 See rationale writeup: pytorch/vision#1321 (comment)
Converts Jinja macros to native Python. Uses a functional style to generate CircleCI workflow members.