From cecc28cc5288fb80a178e456cf2e93d77f5dbd71 Mon Sep 17 00:00:00 2001 From: Loic Coyle Date: Mon, 4 May 2020 20:26:07 +0200 Subject: [PATCH] add pylint disable, r-string, line length, change isinstance --- pywal/export.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pywal/export.py b/pywal/export.py index b9a95e8..928fbc3 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -12,6 +12,7 @@ from .settings import CACHE_DIR, CONF_DIR, MODULE_DIR def template(colors, input_file, output_file=None): """Read template file, substitute markers and save the file elsewhere.""" + # pylint: disable-msg=too-many-locals template_data = util.read_file_raw(input_file) for i, l in enumerate(template_data): for match in re.finditer(r"(?<=(?