aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.