BLD/STY: Upgrade to latest versions of lint checkers.

Upgrade pep8 1.4.6 -> 1.5.7
Upgrade pyflakes 0.7.3 -> 0.8.1

Also, tweak some line indentations which now show up as errors,
because of the fixes/changes to visual indent detection between
pep8 versions.
This commit is contained in:
Eddie Hebert
2014-05-30 12:44:10 -04:00
parent 2c8e019835
commit 2debde31ba
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ mock==1.0.1
flake8==2.1.0
mccabe==0.2.1
pep8==1.4.6
pyflakes==0.7.3
pep8==1.5.7
pyflakes==0.8.1
pip-tools==0.3.4
# Documentation Conversion
+3 -3
View File
@@ -82,7 +82,7 @@ class ExceptionTestCase(TestCase):
'handle_data',
self.zipline_test_config['sid'],
sim_params=factory.create_simulation_parameters()
)
)
zipline = simfactory.create_test_zipline(
**self.zipline_test_config
@@ -102,7 +102,7 @@ class ExceptionTestCase(TestCase):
DivByZeroAlgorithm(
self.zipline_test_config['sid'],
sim_params=factory.create_simulation_parameters()
)
)
zipline = simfactory.create_test_zipline(
**self.zipline_test_config
@@ -122,7 +122,7 @@ class ExceptionTestCase(TestCase):
SetPortfolioAlgorithm(
self.zipline_test_config['sid'],
sim_params=factory.create_simulation_parameters()
)
)
zipline = simfactory.create_test_zipline(
**self.zipline_test_config
+2 -2
View File
@@ -704,8 +704,8 @@ class TestPositionPerformance(unittest.TestCase):
trades[-1]['price'],
"last sale should be same as last trade. \
expected {exp} actual {act}".format(
exp=trades[-1]['price'],
act=pp.positions[1].last_sale_price)
exp=trades[-1]['price'],
act=pp.positions[1].last_sale_price)
)
self.assertEqual(