Skip to content

Commit 5730377

Browse files
committed
Ruff fixes
1 parent fde9695 commit 5730377

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

cater-waiter/sets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def separate_appetizers(dishes: list, appetizers: list) -> list:
129129

130130
def singleton_ingredients(dishes: list[set[str]], intersection) -> set:
131131
"""
132+
Determine singleton ingredient.
133+
132134
Determine which `dishes` have a singleton ingredient (an ingredient that
133135
only appears once across dishes).
134136

triangle/triangle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def equilateral(sides: list) -> bool:
1414

1515
def isosceles(sides: list) -> bool:
1616
"""
17+
Verify isosceles triangle.
18+
1719
An isosceles triangle has at least two sides the same length.
1820
1921
(It is sometimes specified as having exactly two sides the same length,

0 commit comments

Comments
 (0)