From c5e2a3471d78ed81f10b24bbb560ca60a9cadc70 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Sun, 16 Mar 2025 15:03:12 +0100 Subject: [PATCH] style: Run linter to clean up code formatting and imports --- personal_data/fetchers/wanikani_lessons.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/personal_data/fetchers/wanikani_lessons.py b/personal_data/fetchers/wanikani_lessons.py index fd11f79..bcd1726 100644 --- a/personal_data/fetchers/wanikani_lessons.py +++ b/personal_data/fetchers/wanikani_lessons.py @@ -1,12 +1,10 @@ import dataclasses -import datetime import logging from collections.abc import Iterator, Mapping -import requests +from personal_data.data import DeduplicateMode, Scraper from .. import secrets -from personal_data.data import DeduplicateMode, Scraper logger = logging.getLogger(__name__) @@ -34,4 +32,4 @@ class WaniKaniLessonsFetcher(Scraper): data_item = assignment['data'] print(data_item) yield data_item - url = json_resp.get("pages", {}).get("next_url") + url = json_resp.get('pages', {}).get('next_url')