phildini
phildini boosted
phildini
phildini boosted
phildini
phildini boosted
Cassidy James :gg: :fh:
Yogthos
Cassidy James :gg: :fh: and 1 other boosted
phildini
phildini boosted
alcinnz
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.