From 60872d1030186fde5a49a6e6c0058f691cae4094 Mon Sep 17 00:00:00 2001 From: Pranav Ballaney Date: Wed, 19 Aug 2020 19:34:08 +0530 Subject: [PATCH] PyYAML prints curly braces on Github Actions - disable that --- {{cookiecutter.github_repository}}/utils/citations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.github_repository}}/utils/citations.py b/{{cookiecutter.github_repository}}/utils/citations.py index c5d4085..9d5a0c0 100644 --- a/{{cookiecutter.github_repository}}/utils/citations.py +++ b/{{cookiecutter.github_repository}}/utils/citations.py @@ -88,7 +88,7 @@ def main(): # write cache with open('src/citations/cache.yml', 'w') as file: - yaml.safe_dump(cache, file) + yaml.safe_dump(cache, file, default_flow_style=False) def etiquette():