mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +00:00
style: Format code with linter
This commit is contained in:
parent
51bf6035f7
commit
6ffe3e7067
1 changed files with 11 additions and 7 deletions
|
@ -73,8 +73,12 @@ def generate_confetti(count=150, width=DEFAULT_WIDTH, height=DEFAULT_HEIGHT):
|
||||||
y = random.randint(0, height)
|
y = random.randint(0, height)
|
||||||
|
|
||||||
# Skip if the position is in either of the safe zones
|
# Skip if the position is in either of the safe zones
|
||||||
if ((safe_zone_x_min < x < safe_zone_x_max) and (safe_zone_y_min < y < safe_zone_y_max)) or \
|
if (
|
||||||
((footer_safe_zone_x_min < x < footer_safe_zone_x_max) and (footer_safe_zone_y_min < y < footer_safe_zone_y_max)):
|
(safe_zone_x_min < x < safe_zone_x_max) and (safe_zone_y_min < y < safe_zone_y_max)
|
||||||
|
) or (
|
||||||
|
(footer_safe_zone_x_min < x < footer_safe_zone_x_max)
|
||||||
|
and (footer_safe_zone_y_min < y < footer_safe_zone_y_max)
|
||||||
|
):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
confetti_count += 1
|
confetti_count += 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue