diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eda115d..91b2e15 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: # - id: codespell - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort args: [ @@ -36,7 +36,7 @@ repos: name: isort (python) - repo: https://github.com/PyCQA/autoflake - rev: v2.0.0 + rev: v2.2.0 hooks: - id: autoflake name: autoflake @@ -52,14 +52,14 @@ repos: ] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.3.0 + rev: v2.5.1 hooks: - id: add-trailing-comma args: - --py36-plus - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 23.3.0 hooks: - id: black args: [ diff --git a/anime_recommender/etl/Parser.py b/anime_recommender/etl/Parser.py index 90c8cd8..a480119 100644 --- a/anime_recommender/etl/Parser.py +++ b/anime_recommender/etl/Parser.py @@ -74,7 +74,6 @@ def parse_links(driver: webdriver.Chrome, links: list[str]) -> dict: data = {} for link in tqdm.tqdm(links): - # load and check page page = BASE + link driver.get(page) diff --git a/anime_recommender/ui/callbacks.py b/anime_recommender/ui/callbacks.py index db3898f..978b487 100644 --- a/anime_recommender/ui/callbacks.py +++ b/anime_recommender/ui/callbacks.py @@ -291,7 +291,6 @@ def mutual_update_dropdown_language(*args): prevent_initial_call=True, ) def update_items_dropdown(language, search_value, chosen_values): - if language == 'english': items = ITEMS_ENG elif language == 'romaji':