pipelines: simplify and lint aws-pcluster-* (#47989)
This commit is contained in:

committed by
GitHub

parent
30c00353d4
commit
b50dbb8604
@@ -416,10 +416,12 @@ def dump_config(data, stream, *, default_flow_style=False, blame=False):
|
||||
if blame:
|
||||
handler = ConfigYAML(yaml_type=YAMLType.ANNOTATED_SPACK_CONFIG_FILE)
|
||||
handler.yaml.default_flow_style = default_flow_style
|
||||
handler.yaml.width = maxint
|
||||
return _dump_annotated(handler, data, stream)
|
||||
|
||||
handler = ConfigYAML(yaml_type=YAMLType.SPACK_CONFIG_FILE)
|
||||
handler.yaml.default_flow_style = default_flow_style
|
||||
handler.yaml.width = maxint
|
||||
return handler.dump(data, stream)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user