[QA] Fix "dangerous-default-value" (W0102)

This commit is contained in:
Jensun Ravichandran 2021-06-01 19:10:53 +02:00
parent 8e8d0b9c2c
commit bc18952c05

View File

@ -140,7 +140,7 @@ class LabeledComponents(Components):
else: else:
super()._initialize_components(initializer, num_components) super()._initialize_components(initializer, num_components)
def add_components(self, initializer, distribution=[1]): def add_components(self, initializer, distribution):
self._precheck_initializer(initializer) self._precheck_initializer(initializer)
# Labels # Labels