diff --git a/src/wxflow/__init__.py b/src/wxflow/__init__.py index 9a94733..6da713d 100644 --- a/src/wxflow/__init__.py +++ b/src/wxflow/__init__.py @@ -13,7 +13,8 @@ from .task import Task from .template import Template, TemplateConstants from .timetools import * -from .yaml_file import YAMLFile, save_as_yaml, dump_as_yaml, vanilla_yaml, parse_yaml, parse_j2yaml +from .yaml_file import (YAMLFile, dump_as_yaml, parse_j2yaml, parse_yaml, + save_as_yaml, vanilla_yaml) __docformat__ = "restructuredtext" __version__ = "0.1.0" diff --git a/src/wxflow/yaml_file.py b/src/wxflow/yaml_file.py index f6acb23..d8630aa 100644 --- a/src/wxflow/yaml_file.py +++ b/src/wxflow/yaml_file.py @@ -1,8 +1,8 @@ import datetime import json import os -import sys import re +import sys from typing import Any, Dict, List import yaml diff --git a/tests/test_yaml_file.py b/tests/test_yaml_file.py index 91b8861..af6fb5c 100644 --- a/tests/test_yaml_file.py +++ b/tests/test_yaml_file.py @@ -3,7 +3,7 @@ import pytest -from wxflow import (YAMLFile, parse_j2yaml, save_as_yaml) +from wxflow import YAMLFile, parse_j2yaml, save_as_yaml host_yaml = """ host: