-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Enable monitor tests #1533
Enable monitor tests #1533
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.
I really think we should keep the __init__.py
files empty if there is nothing in there. But, it's not worth blocking over a small fix like this.
# This source code is licensed under the Apache License, Version 2.0 found in | ||
# the LICENSE.txt file in the root directory of this source tree. | ||
|
||
"""Tests for Jupyter-related functionality.""" |
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.
This seems a bit absurd we need a docstring for an empty file? Also the copyright header doesn't really apply because there is no "source code" to license.
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.
Technically it is not "a docstring for an empty file" - it is the docstring for the package.
But on a more practical tone, it's mostly about sticking to the current convention we have in place and being consistent - I'm personally happy to reevaluate it as a whole if needed, but seeing that it was mostly introduced at #550 and that it enters the legal territory, I'd err on the side of caution in these cases.
Summary
Following up on #1231: adds a
__init__.py
totest/python/tools/monitor/
so the tests are actually executed by the CIs and tooling.Details and comments