Skip to content

Commit dc17c67

Browse files
committed
[mypy] Add/fix type annotations for boolean_algebra
1 parent 76b76df commit dc17c67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

boolean_algebra/quine_mc_cluskey.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import List
22

3+
34
def compare_string(string1: str, string2: str) -> str:
45
"""
56
>>> compare_string('0010','0110')
@@ -128,7 +129,9 @@ def selection(chart: List[List[int]], prime_implicants: List[str]) -> List[str]:
128129
chart[j][i] = 0
129130

130131

131-
def prime_implicant_chart(prime_implicants: List[str], binary: List[str]) -> List[List[int]]:
132+
def prime_implicant_chart(
133+
prime_implicants: List[str], binary: List[str]
134+
) -> List[List[int]]:
132135
"""
133136
>>> prime_implicant_chart(['0.00.01.5'],['0.00.01.5'])
134137
[[1]]

0 commit comments

Comments
 (0)