Skip to content

Commit d81b80b

Browse files
committed
Format using blackdoc and fix flake8 error
1 parent 095449a commit d81b80b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pygmt/helpers/utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ def build_arg_string(kwargs):
164164
... dict(
165165
... B=["af", "WSne+tBlank Space"],
166166
... F='+t"Empty Spaces"',
167-
... l="'Void Space'"),
167+
... l="'Void Space'",
168+
... ),
168169
... )
169170
... )
170171
-BWSne+tBlank\040Space -Baf -F+t"Empty\040\040Spaces" -l'Void\040Space'

pygmt/tests/test_figure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_figure_savefig_filename_with_spaces():
116116
fig.basemap(region=[0, 1, 0, 1], projection="X1c/1c", frame=True)
117117
with GMTTempFile(prefix="pygmt-filename with spaces", suffix=".png") as imgfile:
118118
fig.savefig(imgfile.name)
119-
assert not r"\040" in os.path.abspath(imgfile.name)
119+
assert r"\040" not in os.path.abspath(imgfile.name)
120120
assert os.path.exists(imgfile.name)
121121

122122

0 commit comments

Comments
 (0)