From 1bc097aa957e560147b4d9af49d25e69a6692702 Mon Sep 17 00:00:00 2001 From: "Lovett, Trevor" Date: Fri, 6 Sep 2019 15:34:12 -0500 Subject: Enforce black code format via pre-commit hook Issue-ID: VVP-203 Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b Signed-off-by: Lovett, Trevor --- ice_validator/preload/environment.py | 1 - ice_validator/preload/generator.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ice_validator/preload') diff --git a/ice_validator/preload/environment.py b/ice_validator/preload/environment.py index 5d69a99..3570dc5 100644 --- a/ice_validator/preload/environment.py +++ b/ice_validator/preload/environment.py @@ -175,7 +175,6 @@ class CloudServiceArchive: class PreloadEnvironment: - def __init__(self, env_dir, parent=None): self.base_dir = Path(env_dir) self.parent = parent diff --git a/ice_validator/preload/generator.py b/ice_validator/preload/generator.py index 456174a..6c0d4b8 100644 --- a/ice_validator/preload/generator.py +++ b/ice_validator/preload/generator.py @@ -52,7 +52,7 @@ def represent_ordered_dict(dumper, data): value.append((node_key, node_value)) - return yaml.nodes.MappingNode(u'tag:yaml.org,2002:map', value) + return yaml.nodes.MappingNode(u"tag:yaml.org,2002:map", value) def get_json_template(template_dir, template_name): -- cgit 1.2.3-korg