Skip to content

Commit

Permalink
feat: port to Anki 23.10
Browse files Browse the repository at this point in the history
Fixes #15.
  • Loading branch information
gregorias committed Nov 2, 2023
1 parent 52f2125 commit a19243f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ mypy = "*"
types-beautifulsoup4 = "*"

[packages]
anki = "==2.1.50"
aqt = "==2.1.50"
pyqt6 = "==6.3.*"
PyQt6-WebEngine = "==6.3.*"
anki = "==23.10"
aqt = "==23.10"
pyqt6 = "==6.*"
PyQt6-WebEngine = "==6.*"

[requires]
python_version = "3.9"
42 changes: 22 additions & 20 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions imagescaler/main.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# -*- coding: utf-8 -*-
"""The implementation of the image scaler plugin."""
from functools import partial
import os.path
import re
from typing import Any, Callable, List, Optional, Union

import aqt # type: ignore
import aqt
from aqt import gui_hooks
from aqt.utils import showInfo, showWarning # type: ignore
from aqt.utils import showInfo, showWarning

import bs4
from bs4 import BeautifulSoup
from PyQt5.QtWidgets import QInputDialog, QWidget # type: ignore
from aqt.qt import QInputDialog, QWidget

from . import imagescaler

Expand Down

0 comments on commit a19243f

Please sign in to comment.