Enforce quoting style in Travis. (#4589)

This commit is contained in:
justinwyang
2019-04-11 14:24:26 -07:00
committed by Robert Nishihara
parent 6697407ec4
commit e88e706fcc
79 changed files with 777 additions and 778 deletions
+3 -3
View File
@@ -84,11 +84,11 @@ class AutoMLSearcher(SearchAlgorithm):
for exp in self.experiment_list:
for param_config, extra_arg in zip(raw_param_list, extra_arg_list):
tag = ''
tag = ""
new_spec = copy.deepcopy(exp.spec)
for path, value in param_config.items():
tag += '%s=%s-' % (path.split('.')[-1], value)
deep_insert(path.split('.'), value, new_spec['config'])
tag += "%s=%s-" % (path.split(".")[-1], value)
deep_insert(path.split("."), value, new_spec["config"])
trial = create_trial_from_spec(
new_spec, exp.name, self._parser, experiment_tag=tag)
+1 -1
View File
@@ -67,7 +67,7 @@ class ContinuousSpace(ParameterSpace):
certain distribution such as linear.
"""
LINEAR = 'linear'
LINEAR = "linear"
# TODO: logspace