Skip to content

BlueGreenMagick/Review-Hotmouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c9c5445 · Nov 26, 2024
Nov 26, 2024
Nov 26, 2024
Aug 30, 2021
Jan 3, 2024
Aug 14, 2021
Aug 31, 2021
Feb 20, 2020
Nov 1, 2023
Nov 1, 2023
Aug 23, 2021

Repository files navigation

For add-on description, please see AnkiWeb page

Development

Setup

After cloning the project, run the following command to install ankiaddonconfig as a git submodule.

git submodule update --init --recursive

Tests & Formatting

This project uses [black], mypy, and [pytest].

black .
mypy .
# pytest . (pytest no longer works)

You will need to install the following python packages to run black, mypy and pytest

pip install aqt PyQt6 mypy black pytest

You may need to uninstall pyqt5-stubs for mypy to work correctly.

Building ankiaddon file

After cloning the repo, go into the repo directory and run the following command to install the git submodule ankiaddonconfig

git submodule update --init --remote addon/ankiaddonconfig

After installing the git submodule, run the following command to create an review_hotmouse.ankiaddon file

cd addon ; zip -r ../review_hotmouse.ankiaddon * ; cd ../