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:
@@ -8,7 +8,7 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
|
||||
from simulation.sim_base import BaseSimulation
|
||||
|
||||
def test_base_simulation_init():
|
||||
def test_base_simulation_init() -> None:
|
||||
with patch('simulation.sim_base.ApiHookClient') as mock_client_class:
|
||||
mock_client = MagicMock()
|
||||
mock_client_class.return_value = mock_client
|
||||
@@ -16,7 +16,7 @@ def test_base_simulation_init():
|
||||
assert sim.client == mock_client
|
||||
assert sim.sim is not None
|
||||
|
||||
def test_base_simulation_setup():
|
||||
def test_base_simulation_setup() -> None:
|
||||
mock_client = MagicMock()
|
||||
mock_client.wait_for_server.return_value = True
|
||||
with patch('simulation.sim_base.WorkflowSimulator') as mock_sim_class:
|
||||
|
||||
Reference in New Issue
Block a user