Skip to content

Commit

Permalink
Linter updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Dec 18, 2024
1 parent c6d1914 commit d19cc75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maps4fs/generator/grle.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def previews(self) -> list[str]:
"""
return []

# pylint: disable=R0801
# pylint: disable=R0801, R0914
def _add_farmlands(self) -> None:
"""Adds farmlands to the InfoLayer PNG file."""

Expand Down Expand Up @@ -139,7 +139,7 @@ def _add_farmlands(self) -> None:
cv2.fillPoly(image, [field_np], field_id) # type: ignore

# Add the field to the farmlands XML.
farmland = ET.SubElement(farmlands_xml, "farmland")
farmland = ET.SubElement(farmlands_xml, "farmland") # type: ignore
farmland.set("id", str(field_id))
farmland.set("priceScale", "1")
farmland.set("npcName", "FORESTER")
Expand Down

0 comments on commit d19cc75

Please sign in to comment.