1
0

Ruff format

This commit is contained in:
Jon Michael Aanes 2024-04-06 17:35:51 +02:00
parent a3a3f5b9e7
commit 64ba67831c
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 2 additions and 3 deletions

View File

@ -135,7 +135,7 @@ def main():
logger.warning('Got cookiejar from firefox: %s cookies', len(cookiejar))
for scraper_cls in personal_data.data.Scraper.__subclasses__():
session = get_session(cookiejar, with_cfscrape = scraper_cls.requires_cfscrape())
session = get_session(cookiejar, with_cfscrape=scraper_cls.requires_cfscrape())
scraper = scraper_cls(session)
logger.warning(
'Running %s, appending to "%s"',
@ -154,5 +154,3 @@ def main():
)
logger.warning('Scraper done: %s', scraper.dataset_name)
del scraper, session

View File

@ -1,5 +1,6 @@
import personal_data
def test_version():
assert personal_data._version.__version__ is not None
assert personal_data.__version__ is not None