mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
fix lint
Signed-off-by: Catch-Bull <burglarralgrub@gmail.com>
This commit is contained in:
parent
afe9a7df28
commit
3d79b56b8a
1 changed files with 4 additions and 1 deletions
|
@ -111,7 +111,10 @@ def get_all_modules(module_type):
|
|||
for module_loader, name, ispkg in pkgutil.walk_packages(
|
||||
ray.dashboard.modules.__path__, ray.dashboard.modules.__name__ + "."
|
||||
):
|
||||
if not dashboard_consts.ENABLE_JOB_AGENT and name == "ray.dashboard.modules.job.job_agent":
|
||||
if (
|
||||
not dashboard_consts.ENABLE_JOB_AGENT
|
||||
and name == "ray.dashboard.modules.job.job_agent"
|
||||
):
|
||||
continue
|
||||
try:
|
||||
importlib.import_module(name)
|
||||
|
|
Loading…
Add table
Reference in a new issue