We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce812f5 + e31b7d1 commit 418dd79Copy full SHA for 418dd79
controllers/algae_shooter.py
@@ -36,10 +36,8 @@ def shoot(self) -> None:
36
if self.reef_intake.is_executing:
37
return
38
if (
39
- self.use_ballistics
40
- and not self.ballistics_component.is_in_range()
41
- or not self.ballistics_component.is_aligned()
42
- ):
+ self.use_ballistics and not self.ballistics_component.is_in_range()
+ ) or not self.ballistics_component.is_aligned():
43
44
self.engage()
45
pyproject.toml
@@ -57,6 +57,8 @@ select = [
57
"T20",
58
# perflint
59
"PERF",
60
+ # ruff specific
61
+ "RUF021", # parenthesise chained and/or
62
]
63
ignore = [
64
"E501", # long lines
0 commit comments