fix lint in config util
This commit is contained in:
parent
d0fef3bf3f
commit
cd494707c4
|
@ -1,7 +1,6 @@
|
||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from contextlib import ExitStack
|
|
||||||
from typing import Dict, Iterable, Union, BinaryIO, TextIO, Literal, Any
|
from typing import Dict, Iterable, Union, BinaryIO, TextIO, Literal, Any
|
||||||
from ruamel.yaml import YAML
|
from ruamel.yaml import YAML
|
||||||
|
|
||||||
|
@ -98,6 +97,7 @@ mainnet_config_data: Dict[str, Any]
|
||||||
minimal_config_data: Dict[str, Any]
|
minimal_config_data: Dict[str, Any]
|
||||||
loaded_defaults = False
|
loaded_defaults = False
|
||||||
|
|
||||||
|
|
||||||
def load_defaults(spec_configs_path: Path) -> None:
|
def load_defaults(spec_configs_path: Path) -> None:
|
||||||
global mainnet_preset_data, minimal_preset_data, mainnet_config_data, minimal_config_data
|
global mainnet_preset_data, minimal_preset_data, mainnet_config_data, minimal_config_data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue