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
[SW-1204] Fix formating in python tests #1133
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.
Have one question, otherwise LGTM
|
||
def locate(file_name): | ||
if os.path.isfile("/home/0xdiag/" + file_name): | ||
return os.path.abspath("/home/0xdiag/" + file_name) | ||
else: | ||
return os.path.abspath("../examples/" + file_name) | ||
|
||
def cluster_mode(spark_conf = None): | ||
|
||
def cluster_mode(spark_conf=None): |
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 would prefer the original version with spaces or is it more frequent like this in Python?
Yup, PEP8 recommends to not have spaces around
from https://www.python.org/dev/peps/pep-0008/#other-recommendations |
(cherry picked from commit 77b9247)
No semantic changes -> just clicked on reformat code in Idea in test utilities and tests files themselfs