Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yangbobo2021 committed Sep 20, 2024
1 parent 3744578 commit a6f8c76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devchat/workflow/env_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

logger = get_logger(__name__)


def _get_external_envs() -> Dict[str, ExternalPyConf]:
"""
Get the external python environments info from the user settings.
Expand All @@ -25,8 +26,10 @@ def _get_external_envs() -> Dict[str, ExternalPyConf]:

return external_pythons


EXTERNAL_ENVS = _get_external_envs()


class PyEnvManager:
mamba_bin = MAMBA_BIN_PATH
mamba_root = MAMBA_ROOT
Expand Down Expand Up @@ -274,6 +277,7 @@ def _get_conda_forge_url(self) -> str:
return default_url

import yaml

with open(config_file, "r", encoding="utf-8") as f:
config = yaml.safe_load(f)

Expand Down

0 comments on commit a6f8c76

Please sign in to comment.