Fix lint
parent
6e979a1740
commit
fec13bedd6
|
@ -99,7 +99,7 @@ class CacheConfig(Config):
|
||||||
|
|
||||||
individual_factors.update(individual_factors_config)
|
individual_factors.update(individual_factors_config)
|
||||||
|
|
||||||
self.cache_factors = dict() # type: Dict[str, float]
|
self.cache_factors = {} # type: Dict[str, float]
|
||||||
|
|
||||||
for cache, factor in individual_factors.items():
|
for cache, factor in individual_factors.items():
|
||||||
if not isinstance(factor, (int, float)):
|
if not isinstance(factor, (int, float)):
|
||||||
|
|
Loading…
Reference in New Issue