fix lint in config util

This commit is contained in:
protolambda 2021-05-07 11:22:44 +02:00
parent d0fef3bf3f
commit cd494707c4
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

@ -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