[hotfix] Lint formatting for new Tune optimizer ZOOpt (#8040)

* formatting

* removedill

* lint
This commit is contained in:
Richard Liaw
2020-04-16 09:24:30 -07:00
committed by GitHub
parent d4cae5f632
commit 4d8bf5635d
6 changed files with 21 additions and 12 deletions
+2 -3
View File
@@ -1,8 +1,7 @@
"""This test checks that ZOOpt is functional.
"""This test checks that ZOOptSearch is functional.
It also checks that it is usable with a separate scheduler.
"""
import ray
from ray.tune import run
from ray.tune.suggest.zoopt import ZOOptSearch
@@ -39,7 +38,7 @@ if __name__ == "__main__":
}
config = {
"num_samples": 200 if args.smoke_test else 1000,
"num_samples": 10 if args.smoke_test else 1000,
"config": {
"iterations": 10, # evaluation times
},