Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,4 @@ venv.bak/

# mypy
.mypy_cache/
.temp
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PyYAML==3.12
ruamel.ordereddict==0.4.13
ruamel.yaml==0.15.71
argparse==1.4.0
argparse==1.4.0yamllint==1.15.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move yamllint to a new line?

4 changes: 2 additions & 2 deletions simple_grid_yaml_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def phase_5(phase_4_output, runtime_vars, yaml):
if data_section == 'lightweight_components':
updated_components = []
for lightweight_component in data[data_section]:
print "Component: " + lightweight_component['name']
print ("Component: " + lightweight_component['name'])
updated_component = {}
for component_section in lightweight_component:
if component_section == 'config':
Expand Down Expand Up @@ -96,7 +96,7 @@ def phase_6(phase_5_output_file, yaml):
container_split_config = yaml_augmentation.split_container_config(variable_hierarchies)
#pass 4
with_ids = yaml_augmentation.add_execution_ids(container_split_config)
print with_ids
print (with_ids)
yaml.dump(with_ids, phase_6_output_file)
return phase_6_output_file

Expand Down
Loading