Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix(linting): fix typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Oct 15, 2018
1 parent b5a743e commit 9031528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions molten/contrib/toml_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import os
from inspect import Parameter
from string import Template
from typing import Any, Dict, List, Optional, Union
from typing import Any, Dict, List, Optional, Union, cast

from molten import Settings as Settings

Expand All @@ -43,7 +43,7 @@ def _substitute(setting: str, value: str, env: Dict[str, str]) -> str:

def _substitute_from_env(
ob: Union[Dict[str, Any], List[Any]],
env: Dict[str, str] = os.environ,
env: Dict[str, str] = cast(Dict[str, str], os.environ), # noqa
parent: str = "$",
) -> None:
if isinstance(ob, list):
Expand Down

0 comments on commit 9031528

Please # to comment.