[QA] Fix "dangerous-default-value" (W0102)
This commit is contained in:
parent
8e8d0b9c2c
commit
bc18952c05
@ -140,7 +140,7 @@ class LabeledComponents(Components):
|
||||
else:
|
||||
super()._initialize_components(initializer, num_components)
|
||||
|
||||
def add_components(self, initializer, distribution=[1]):
|
||||
def add_components(self, initializer, distribution):
|
||||
self._precheck_initializer(initializer)
|
||||
|
||||
# Labels
|
||||
|
Loading…
Reference in New Issue
Block a user