-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Lint Python code for undefined names #1721
Changes from all commits
128a178
06b5c9d
a416d12
26d8600
a819e9c
8a65038
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# flake8: noqa TODO | ||
|
||
import json | ||
from pathlib import Path | ||
from bokeh.layouts import row | ||
|
@@ -34,7 +36,7 @@ | |
# trueclass | ||
# true_score_column | ||
|
||
if "is_generated" is not in variables or variables["is_generated"] is False: | ||
if not variables.get("is_generated"): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that we should revert this change and move it to a separate PR. What are your thoughts? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That change has been in #1878 for 4 days (a long time for a syntax error) and was not acted on so I bundled it it here |
||
# Create data from specified csv file(s). | ||
# The schema file provides column names for the csv file that will be used | ||
# to generate the roc curve. | ||
|
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.
Is this no longer necessary?
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.
Correct.