Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Internal: fix pylint warnings #651

Merged
merged 39 commits into from
Aug 25, 2018

Conversation

jafreck
Copy link
Member

@jafreck jafreck commented Aug 17, 2018

Our CI build only look at pylint errors, not warnings. We let the number of warnings increase to the hundreds as a result. This PR will resolve (nearly) all pylint warnings.

container_name=container_name,
timeout=timeout)
timeout=timeout,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comma

container_name=container_name,
timeout=timeout))
timeout=timeout,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comma after timeout

Copy link
Member Author

@jafreck jafreck Aug 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is part of the yapf style definition so it is auto formatted.

container_name=container_name,
timeout=timeout)
timeout=timeout,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comma after timeout

container_name=container_name,
timeout=timeout))
timeout=timeout,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comma after timeout

"Please supply a valid (greater than 0) size or size_low_priority value either in the cluster.yaml configuration file or with a parameter (--size or --size-low-priority)"
)
"Please supply a valid (greater than 0) size or size_low_priority value either "
"in the cluster.yaml configuration file or with a parameter (--size or --size-low-priority)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these two strings be concatenated?

"You must configure a VNET to use AZTK in mixed mode (dedicated and low priority nodes). Set the VNET's subnet_id in your cluster.yaml or with a parameter (--subnet-id)."
)
"You must configure a VNET to use AZTK in mixed mode (dedicated and low priority nodes). "
"Set the VNET's subnet_id in your cluster.yaml or with a parameter (--subnet-id).")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@jafreck jafreck merged commit 828162e into Azure:master Aug 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants