aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2022-02-01 17:07:54 +0000
committerMatěj Cepl <mcepl@cepl.eu>2022-02-01 17:07:54 +0000
commit3b89f197710e6373d7736dc5463a44f4c31783db (patch)
tree7f249b76d4f8d579e70edb5198709c4dcae1b843
parentac954b825bf22851fad303e33bd27f76ab70c510 (diff)
parent051db327fb1c21032f39e9a2c9272b3a9c65b8a9 (diff)
downloadepubgrep-3b89f197710e6373d7736dc5463a44f4c31783db.tar.gz
Merge branch 'fix_tests' into 'master'
Fix tests See merge request mcepl/epubgrep!1
-rw-r--r--.gitlab-ci.yml3
-rwxr-xr-xepubgrep.py2
-rw-r--r--setup.py2
3 files changed, 4 insertions, 3 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.
diff --git a/setup.py b/setup.py
index 48809b3..659c517 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name="epubgrep",
- version="0.7.0",
+ version="0.7.1",
description='Grep through EPub files',
author=u'Matěj Cepl',
author_email='mcepl@cepl.eu',