From 6f48181a56abc608a3c88ce81c88ed213660f2f1 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 23 Jun 2018 01:53:04 -0700 Subject: [PATCH] Disable a pylint --- tests/spoof/tesseract_cache.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/spoof/tesseract_cache.py b/tests/spoof/tesseract_cache.py index fa30b810..e6a2f234 100755 --- a/tests/spoof/tesseract_cache.py +++ b/tests/spoof/tesseract_cache.py @@ -187,6 +187,8 @@ def main(): yield re.sub(r'.*/com.github.ocrmypdf[^/]+[/](.*)', r'$TMPDIR/\1', arg) manifest['args'] = list(clean_sys_argv()) + + # pylint: disable=E1101 with (Path(CACHE_ROOT) / 'manifest.jsonl').open('a') as f: json.dump(manifest, f) f.write('\n')