alcinnz boosted
GIF
GIF
stormcheck mypy --edu ============================================================ Storm-Checker Type Safety Tool Learn Python typing through practice ============================================================ πŸ“ Found 8 Python files ⚠️ Found 19 type issues in 8 files πŸ“š Learning Opportunities: Missing Type Annotations (Level 1/5 - 17 issues) β†’ stormcheck tutorial type_annotations_basics spellbook_engine/base_block.py:18: error: Function is missing a type annotation for one or more arguments [no-untyped-def] spellbook_engine/registry.py:43: error: Function is missing a return type annotation [no-untyped-def] ... and 15 more Type Incompatibility (Level 2/5 - 2 issues) β†’ stormcheck tutorial type_compatibility spellbook_engine/base_block.py:83: error: Returning Any from function declared to return "str" [no-any-return] spellbook_engine/registry.py:210: error: Returning Any from function declared to return "type[BaseSpellBlock] | None" [no-any-return] 🎯 Next Steps: 1. Learn the concepts: stormcheck tutorial type_annotations_basics 2. Start with easy fixes: 19 simple issues that take < 5 minutes each 3. Verify your fixes: python -m pytest # Run your test suite stormcheck mypy # Re-check types πŸ’‘ Tips: β€’ Use -k to focus on specific modules β€’ Track progress with --dashboard β€’ CI/CD-friendly results with --json πŸ“š Keep learning! You're making great progress.
GIF
GIF
stormcheck mypy --edu ============================================================ Storm-Checker Type Safety Tool Learn Python typing through practice ============================================================ πŸ“ Found 8 Python files ⚠️ Found 19 type issues in 8 files πŸ“š Learning Opportunities: Missing Type Annotations (Level 1/5 - 17 issues) β†’ stormcheck tutorial type_annotations_basics spellbook_engine/base_block.py:18: error: Function is missing a type annotation for one or more arguments [no-untyped-def] spellbook_engine/registry.py:43: error: Function is missing a return type annotation [no-untyped-def] ... and 15 more Type Incompatibility (Level 2/5 - 2 issues) β†’ stormcheck tutorial type_compatibility spellbook_engine/base_block.py:83: error: Returning Any from function declared to return "str" [no-any-return] spellbook_engine/registry.py:210: error: Returning Any from function declared to return "type[BaseSpellBlock] | None" [no-any-return] 🎯 Next Steps: 1. Learn the concepts: stormcheck tutorial type_annotations_basics 2. Start with easy fixes: 19 simple issues that take < 5 minutes each 3. Verify your fixes: python -m pytest # Run your test suite stormcheck mypy # Re-check types πŸ’‘ Tips: β€’ Use -k to focus on specific modules β€’ Track progress with --dashboard β€’ CI/CD-friendly results with --json πŸ“š Keep learning! You're making great progress.