From 051db327fb1c21032f39e9a2c9272b3a9c65b8a9 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 1 Feb 2022 17:53:29 +0100 Subject: Fix flake8 --- .gitlab-ci.yml | 3 ++- epubgrep.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8694ee3..e8a5795 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,8 @@ before_script: test: script: - pip install flake8 - - python setup.py -v test flake8 + - python setup.py -v test + - flake8 epubgrep.py setup.py tests/__init__.py tests/test_epugrep.py run: script: diff --git a/epubgrep.py b/epubgrep.py index b6c3720..8afbf54 100755 --- a/epubgrep.py +++ b/epubgrep.py @@ -85,7 +85,7 @@ def _singleline_search(inf, sought_RE, out_title, filename, counting, def _metadata_search(mdata: dict, sre: re.Pattern, fname: str, - col: bool) -> str: + col: bool) -> str: """ Search through metadata, not text. -- cgit