Skip to content

feat: add type hints to main.py#1653

Closed
ashrion wants to merge 1 commit into
steam-bell-92:mainfrom
ashrion:feat/main-type-hints
Closed

feat: add type hints to main.py#1653
ashrion wants to merge 1 commit into
steam-bell-92:mainfrom
ashrion:feat/main-type-hints

Conversation

@ashrion

@ashrion ashrion commented Jul 11, 2026

Copy link
Copy Markdown

Summary

Added comprehensive type hints to main.py for better code quality and IDE support.

Changes

  • Added from typing import Any import
  • Added type hints to all function signatures and return types
  • Added type annotations to module-level constants (PROJECTS, DIFFICULTY_BADGES, CATEGORY_EMOJIS, KEYBOARD_SHORTCUTS)

How to Test

  1. Run python main.py
  2. Navigate through all menus to verify functionality
  3. Verify no regressions in behavior

Related Issues

Fixes #1652

GSSoC 2026

Added type hints to all function signatures, return types, and module-level constants.

Fixes steam-bell-92#1652
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

@ashrion is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add type hints to main.py

2 participants