Skip to content

Commit bfd2d40

Browse files
committed
update python fix flake8 issues.
1 parent 727df7e commit bfd2d40

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

python/graphscope/gsutil/gsutil.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def make(repo, component, clean, install, install_prefix, storage_type, with_jav
113113
run_shell_cmd(cmd, repo.home)
114114
return
115115
click.secho(
116-
f"Before making artifacts, please manually source ENVs from ~/.graphscope_env.",
116+
"Before making artifacts, please manually source ENVs from ~/.graphscope_env.",
117117
fg="yellow",
118118
)
119119
click.secho(
@@ -144,8 +144,8 @@ def make(repo, component, clean, install, install_prefix, storage_type, with_jav
144144
)
145145
click.secho(f"Begin to extract, from {workingdir}.", fg="green")
146146
run_shell_cmd(cmd, workingdir)
147-
click.secho(f"GraphScope interactive engine has been built.", fg="green")
148-
if install == True:
147+
click.secho("GraphScope interactive engine has been built.", fg="green")
148+
if install is True:
149149
cmd = [
150150
"make",
151151
"interactive-install",
@@ -162,8 +162,8 @@ def make(repo, component, clean, install, install_prefix, storage_type, with_jav
162162
if with_java:
163163
cmd = ["make", "analytical-java"]
164164
run_shell_cmd(cmd, repo.home)
165-
click.secho(f"GraphScope analytical engine has been built.", fg="green")
166-
if install == True:
165+
click.secho("GraphScope analytical engine has been built.", fg="green")
166+
if install is True:
167167
cmd = [
168168
"make",
169169
"analytical-install",
@@ -183,10 +183,10 @@ def make(repo, component, clean, install, install_prefix, storage_type, with_jav
183183
cmd = ["make", "coordinator"]
184184
run_shell_cmd(cmd, repo.home)
185185

186-
if component == None:
186+
if component is None:
187187
click.secho("Building all components.", fg="green")
188188
cmd = ["make", "all"]
189-
if install == True:
189+
if install is True:
190190
cmd = ["make", "install", "INSTALL_PREFIX={}".format(install_prefix)]
191191
run_shell_cmd(cmd, repo.home)
192192

0 commit comments

Comments
 (0)