From 20fce54b36768cf60757c7d465c5db17c9f0b42b Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Mon, 21 Aug 2023 16:52:32 +0200 Subject: [PATCH] STY: autopep8'd --- src/caoscrawler/crawl.py | 2 +- unittests/test_utilities.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index ad320c6f..da721ec3 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -1187,7 +1187,7 @@ def _fix_file_paths(crawled_data: list[db.Entity], If remove_prefix is not None the given prefix will be removed from the front of elem.path. In this case a RuntimeError will be raised if any path of a file does not begin with "remove_prefix". - + """ for elem in crawled_data: if isinstance(elem, db.File): diff --git a/unittests/test_utilities.py b/unittests/test_utilities.py index 529d6c23..5a80ab9b 100644 --- a/unittests/test_utilities.py +++ b/unittests/test_utilities.py @@ -22,7 +22,6 @@ from caoscrawler.crawl import split_restricted_path - def test_split_restricted_path(): assert split_restricted_path("") == [] assert split_restricted_path("/") == [] -- GitLab