refactor(types): auto -> None sweep across entire codebase
Applied 236 return type annotations to functions with no return values across 100+ files (core modules, tests, scripts, simulations). Added Phase 4 to python_style_refactor track for remaining 597 items (untyped params, vars, and functions with return values). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,12 +6,12 @@ import project_manager
|
||||
from models import Track, Ticket
|
||||
|
||||
class TestMMAPersistence(unittest.TestCase):
|
||||
def test_default_project_has_mma(self):
|
||||
def test_default_project_has_mma(self) -> None:
|
||||
proj = project_manager.default_project("test")
|
||||
self.assertIn("mma", proj)
|
||||
self.assertEqual(proj["mma"], {"epic": "", "active_track_id": "", "tracks": []})
|
||||
|
||||
def test_save_load_mma(self):
|
||||
def test_save_load_mma(self) -> None:
|
||||
proj = project_manager.default_project("test")
|
||||
proj["mma"] = {"epic": "Test Epic", "tracks": [{"id": "track_1"}]}
|
||||
test_file = Path("test_mma_proj.toml")
|
||||
|
||||
Reference in New Issue
Block a user