Skip to content

Commit d20e0d0

Browse files
committed
typing(type): add type annotations to add_promotion_rule
Signed-off-by: Nathaniel Starkman <[email protected]>
1 parent a25f4ae commit d20e0d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plum/promotion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _promotion_rule(type1, type2):
135135

136136

137137
@_dispatch
138-
def add_promotion_rule(type1, type2, type_to):
138+
def add_promotion_rule(type1: type, type2: type, type_to: type) -> None:
139139
"""Add a promotion rule.
140140
141141
Args:

0 commit comments

Comments
 (0)