diff --git a/groove/db/scanner.py b/groove/db/scanner.py index eeb2f46..3c13ebf 100644 --- a/groove/db/scanner.py +++ b/groove/db/scanner.py @@ -36,7 +36,7 @@ class MediaScanner: return self._glob def find_sources(self, pattern): - return self.root.rglob(pattern) # pragma: no-cover + return self.root.rglob(pattern) # pragma: no cover def import_tracks(self, sources: Iterable) -> None: for path in sources: diff --git a/groove/webserver.py b/groove/webserver.py index d1dd6c9..b6032ae 100644 --- a/groove/webserver.py +++ b/groove/webserver.py @@ -11,7 +11,7 @@ from groove.helper import PlaylistDatabaseHelper server = bottle.Bottle() -def start(host: str, port: int, debug: bool) -> None: +def start(host: str, port: int, debug: bool) -> None: # pragma: no cover """ Start the Bottle app. """ diff --git a/pytest.ini b/pytest.ini index af41aee..10d660a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,4 +2,4 @@ env_override_existing_values = 1 env_files = .test_env log_cli_level = DEBUG -addopts = --cov=groove/ --cov-report=term +addopts = --cov=groove/ --cov-report=term-missing