Skip to content

Commit

Permalink
Ran black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Khopa committed Apr 17, 2021
1 parent 648857f commit 221cb87
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 99 deletions.
10 changes: 8 additions & 2 deletions gen/fleet/ru_dd_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def generate(self):
include_frigate = True

if include_frigate:
frigate_type = random.choice([Corvette_1124_4_Grisha, Corvette_1241_1_Molniya])
frigate_type = random.choice(
[Corvette_1124_4_Grisha, Corvette_1241_1_Molniya]
)
self.add_unit(
frigate_type,
"FF1",
Expand Down Expand Up @@ -74,7 +76,11 @@ def generate(self):
# Only include the Moskva for now, the Pyotry Velikiy is an unkillable monster.
# See https://github.com/Khopa/dcs_liberation/issues/567
self.add_unit(
Cruiser_1164_Moskva, "CC1", self.position.x, self.position.y, self.heading
Cruiser_1164_Moskva,
"CC1",
self.position.x,
self.position.y,
self.heading,
)

self.get_generated_group().points[0].speed = 20
Expand Down
Loading

0 comments on commit 221cb87

Please sign in to comment.