Skip to content

Commit f89c748

Browse files
committed
fix blackboard linter issue
1 parent 9d4170d commit f89c748

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎patterns/other/blackboard.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
importabc
1414
importrandom
1515

16-
fromtypingimportList
17-
1816

1917
classBlackboard:
2018
def__init__(self) ->None:
21-
self.experts: List=[]
19+
self.experts: []
2220
self.common_state={
2321
"problems": 0,
2422
"suggestions": 0,
@@ -34,7 +32,7 @@ class Controller:
3432
def__init__(self, blackboard: Blackboard) ->None:
3533
self.blackboard=blackboard
3634

37-
defrun_loop(self)->List[str]:
35+
defrun_loop(self):
3836
"""
3937
This function is a loop that runs until the progress reaches 100.
4038
It checks if an expert is eager to contribute and then calls its contribute method.

0 commit comments

Comments
(0)