Skip to content

refactor(hotkeygen): make hotkeygen into a proper python package#15382

Open
bryanforbes wants to merge 1 commit into
batocera-linux:masterfrom
bryanforbes:refactor/clean-up-hotkeygen
Open

refactor(hotkeygen): make hotkeygen into a proper python package#15382
bryanforbes wants to merge 1 commit into
batocera-linux:masterfrom
bryanforbes:refactor/clean-up-hotkeygen

Conversation

@bryanforbes

Copy link
Copy Markdown
Contributor

Move hotkeygen from package/batocera/utils into python-src as a structured Python package with pyproject.toml and proper entry points.

Key changes:

  • Extract shared constants (paths, ECODES_NAMES) into shared.py
  • Add type hints, TypedDicts, and dataclasses throughout
  • Replace cast() workarounds with parameterized generic types
  • Update hotkeygen.mk to install the new package structure

@dmanlfc dmanlfc added the 44 label Feb 12, 2026
@dmanlfc

dmanlfc commented May 9, 2026

Copy link
Copy Markdown
Collaborator

@nadenislamarre this one is definitely for you :-D

Move hotkeygen from package/batocera/utils into python-src as a
structured Python package with pyproject.toml and proper entry
points.

Key changes:
- Extract shared constants (paths, ECODES_NAMES) into shared.py
- Add type hints, TypedDicts, and dataclasses throughout
- Replace cast() workarounds with parameterized generic types
- Update hotkeygen.mk to install the new package structure
@bryanforbes bryanforbes force-pushed the refactor/clean-up-hotkeygen branch from 531fe2f to 3c62c18 Compare May 29, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants