Skip to content

Commit

Permalink
(codestyle) bump black
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Mar 3, 2025
1 parent d7c7916 commit cfa86e4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bridge/dovemere_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def gen():
s = get_string_manager()

g = grf.NewGRF(
grfid=b"\xE5\xBC\x8Bb",
grfid=b"\xe5\xbc\x8bb",
name=s["STR_GRF_NAME"],
description=s["STR_GRF_DESC"],
id_map_file="bridge/id_map.json",
Expand Down
2 changes: 1 addition & 1 deletion house/dovemere_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def gen():
s = get_string_manager()

g = grf.NewGRF(
grfid=b"\xE5\xBC\x8Bh",
grfid=b"\xe5\xbc\x8bh",
name=s["STR_GRF_NAME"],
description=s["STR_GRF_DESC"],
id_map_file="house/id_map.json",
Expand Down
2 changes: 1 addition & 1 deletion industry/aegis_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_string_manager():
def gen():
s = get_string_manager()
g = grf.NewGRF(
grfid=b"\xE5\xBC\x8Bi",
grfid=b"\xe5\xbc\x8bi",
name=s["STR_GRF_NAME"],
description=s["STR_GRF_DESC"],
id_map_file="industry/id_map.json",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
black
black==25.1.0
pytest
2 changes: 1 addition & 1 deletion road/dovemere_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def gen():
s = get_string_manager()

g = grf.NewGRF(
grfid=b"\xE5\xBC\x8Br",
grfid=b"\xe5\xbc\x8br",
name=s["STR_GRF_NAME"],
description=s["STR_GRF_DESC"],
id_map_file="road/id_map.json",
Expand Down
2 changes: 1 addition & 1 deletion road_vehicle/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def gen(fast):
s = get_string_manager()

g = grf.NewGRF(
grfid=b"\xE5\xBC\x8B0",
grfid=b"\xe5\xbc\x8b0",
name=s["STR_GRF_NAME"],
description=s["STR_GRF_DESC"],
id_map_file="road_vehicle/id_map.json",
Expand Down
2 changes: 1 addition & 1 deletion roadstop/lib/roadstop.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_sprites(self, g, sprites=None):
self.callbacks.set_flag_props(self._props)

if self.is_waypoint:
class_label = b"\xFF" + self._props["class_label"][1:]
class_label = b"\xff" + self._props["class_label"][1:]
else:
class_label = self._props["class_label"]

Expand Down
2 changes: 1 addition & 1 deletion station/lib/station.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_sprites(self, g, sprites=None):

if self.is_waypoint:
openttd_15_props = {
"class_label": b"\xfF" + self._props["class_label"][1:],
"class_label": b"\xff" + self._props["class_label"][1:],
"station_class_name": g.strings.add(
g.strings[f"STR_STATION_CLASS_{self.class_label_plain}"]
).get_persistent_id(),
Expand Down

0 comments on commit cfa86e4

Please sign in to comment.