Skip to content

Commit e31b7d1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8edf1ac commit e31b7d1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

controllers/algae_shooter.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ def shoot(self) -> None:
3636
if self.reef_intake.is_executing:
3737
return
3838
if (
39-
self.use_ballistics
40-
and not self.ballistics_component.is_in_range()
41-
or not self.ballistics_component.is_aligned()
42-
):
39+
self.use_ballistics and not self.ballistics_component.is_in_range()
40+
) or not self.ballistics_component.is_aligned():
4341
return
4442
self.engage()
4543

0 commit comments

Comments
 (0)