mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-17 11:25:55 +08:00
STY: Flake8
Upgrade the version of the flake8, pep8, and mccabe PyPI packages, and make the code changes necessary for compatibility with the updated packages.
This commit is contained in:
@@ -252,7 +252,8 @@ class TestMiscellaneousAPI(TestCase):
|
||||
('minute'),
|
||||
])
|
||||
def test_schedule_funtion_rule_creation(self, mode):
|
||||
nop = lambda *args, **kwargs: None
|
||||
def nop(*args, **kwargs):
|
||||
return None
|
||||
|
||||
self.sim_params.data_frequency = mode
|
||||
algo = TradingAlgorithm(
|
||||
|
||||
Reference in New Issue
Block a user