Skip to content

Commit

Permalink
style: Fix empty-comment (PLR2044) (OSGeo#4024)
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Jul 11, 2024
1 parent 6b38ffb commit 169ca9b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion gui/wxpython/psmap/instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ def Read(self, filename):
else:
page["Orientation"] = orientation

#
return True

def SendToRead(self, instruction, text, **kwargs):
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ ignore = [
"PLR1714", # repeated-equality-comparison
"PLR1733", # unnecessary-dict-index-lookup
"PLR2004", # magic-value-comparison
"PLR2044", # empty-comment
"PLR5501", # collapsible-else-if
"PLR6104", # non-augmented-assignment
"PLR6201", # literal-membership
Expand Down
1 change: 0 additions & 1 deletion python/grass/script/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ def convert_xml_to_utf8(xml_text):
m = re.match(pattern, xml_text)
if m is None:
return xml_text.encode("utf-8") if xml_text else None
#
enc = m.groups()[0]

# modify: change the encoding to "utf-8", for correct parsing
Expand Down
1 change: 0 additions & 1 deletion raster/r.solute.transport/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
gs.run_command("r.mapcalc", expression="poros=0.17")
gs.run_command("r.mapcalc", expression="syield=0.0001")
gs.run_command("r.mapcalc", expression="null=0.0")
#
gs.message(_("Compute a steady state groundwater flow"))

gs.run_command(
Expand Down

0 comments on commit 169ca9b

Please sign in to comment.