-
Notifications
You must be signed in to change notification settings - Fork 6.5k
[core] Cover cpplint for ray/src/ray/stats #50678
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
base: master
Are you sure you want to change the base?
Conversation
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.
Thanks!
Looks like there's a build error: https://buildkite.com/ray-project/microcheck/builds/11576#01951922-3928-41c3-8543-c6bf95d05c12/186-978 |
src/ray/stats/tag_defs.h
Outdated
@@ -11,6 +11,8 @@ | |||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
// See the License for the specific language governing permissions and | |||
// limitations under the License. | |||
#include <string> |
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.
No, #pragma once
first, otherwise these two header files are included anyway
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.
should include <utility>
and opencensus/tags/tag_key.h
Not sure how to fix this, I tried to build raylet to see where the problem is and my laptop crashed🥲 |
@400Ping it's a known issue and should be fixed in main, could you please rebase and retry? |
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
c429acb
to
5f1b6c6
Compare
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
yes, I will continue to work on this. |
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
working on it |
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
Will be working on it. |
Why are these changes needed?
Ensure all
.h
and.cc
files insrc/ray/stats
comply with cpplint rules.Related issue number
Closes: #50636
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.