-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Large scale fix of python-related files in torch/csrc/ #14515
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
0e1b28a to
a55ad97
Compare
.clang-tidy
Outdated
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.
Let me try fixing this one
facebook-github-bot
left a comment
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.
@goldsborough has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
a55ad97 to
0c2bde9
Compare
|
This will conflict with the |
|
@goldsborough I have some in flight diffs which would pass tidy after this change, but don't pass before. Should I NOLINT suppress, or just ship even with broken tidy? |
62be89f to
4a5647b
Compare
|
Sorry @goldsborough, saw your message to late -- 220ce80 changed |
torch/csrc/jit/constants.cpp
Outdated
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.
What was wrong with this std::move?
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.
The val is used after which clang-tidy does not like
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.
We could just replace those assignments with return
ae66147 to
251da24
Compare
facebook-github-bot
left a comment
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.
@goldsborough has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
b51a0cf to
b2d3ef7
Compare
b2d3ef7 to
37ef17e
Compare
facebook-github-bot
left a comment
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.
@goldsborough is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
No description provided.