Ruff format
This commit is contained in:
parent
a3a3f5b9e7
commit
64ba67831c
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user