aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2022-02-01 17:53:29 +0100
committerMatěj Cepl <mcepl@cepl.eu>2022-02-01 18:01:18 +0100
commit051db327fb1c21032f39e9a2c9272b3a9c65b8a9 (patch)
tree7f249b76d4f8d579e70edb5198709c4dcae1b843
parentde62ae0d78aa5eefeab748e1e14b9603b0ca5794 (diff)
downloadepubgrep-051db327fb1c21032f39e9a2c9272b3a9c65b8a9.tar.gz
Fix flake8
-rw-r--r--.gitlab-ci.yml3
-rwxr-xr-xepubgrep.py2
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.