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:
Jonathan Kamens
2015-03-19 17:21:25 -04:00
parent 39f3b9463c
commit e942275108
26 changed files with 92 additions and 106 deletions
+2 -1
View File
@@ -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(