pwintz / beyondki

Prerequisite sorting for Anki decks
0 stars 0 forks source link

WIP: Refactor `prerequisites` module and tests #1

Closed langfield closed 1 year ago

langfield commented 1 year ago

This commit bundles the former is_prerequisites_tag(), strip_pre_prefix(), and extract_prerequisites_tags() into a single extract_prerequisite_tags() function. It also adds type hints, lints all source files, and generally pushes the repository into a PEP-compliant direction.

pwintz commented 1 year ago

Thanks! This handles some of the repository organization that I wanted to do but hadn't gotten around to yet.