From 6b633e79b916a06c752af353d02a9bec00472955 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 13 Jan 2016 10:03:55 +0100 Subject: [PATCH] Forgotten file and pylint --- patacrep/content/include.py | 3 ++- test/test_content/datadir/songs/custom_list.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 test/test_content/datadir/songs/custom_list.yaml diff --git a/patacrep/content/include.py b/patacrep/content/include.py index 275c30ba..0755c747 100644 --- a/patacrep/content/include.py +++ b/patacrep/content/include.py @@ -4,10 +4,11 @@ This plugin provides keyword 'include', used to include an external list of songs in JSON or YAML format. """ -import yaml import os import logging +import yaml + from patacrep.content import process_content, ContentError, ContentList, validate_parser_argument from patacrep import encoding, errors, files diff --git a/test/test_content/datadir/songs/custom_list.yaml b/test/test_content/datadir/songs/custom_list.yaml new file mode 100644 index 00000000..e32ff5c8 --- /dev/null +++ b/test/test_content/datadir/songs/custom_list.yaml @@ -0,0 +1,6 @@ +- sorted: + key: "@title" + content: + - exsong.sg + - chordpro.csg + - subdir/chordpro.csg \ No newline at end of file