Merge pull request #674 from kampfschlaefer/ignore_lambdas_in_flake8

Ignore lambdas in flake8
main
Selwin Ong 9 years ago
commit b43ae54016

@ -4,3 +4,7 @@ requires = redis >= 2.7.0
[wheel]
universal = 1
[flake8]
max-line-length=120
ignore=E731

@ -355,7 +355,6 @@ class TestQueue(RQTestCase):
# DeferredJobRegistry should also be empty
self.assertEqual(registry.get_job_ids(), [])
def test_enqueue_dependents_on_multiple_queues(self):
"""Enqueueing dependent jobs on multiple queues pushes jobs in the queues
and removes them from DeferredJobRegistry for each different queue."""
@ -392,8 +391,6 @@ class TestQueue(RQTestCase):
self.assertEqual(registry_1.get_job_ids(), [])
self.assertEqual(registry_2.get_job_ids(), [])
def test_enqueue_job_with_dependency(self):
"""Jobs are enqueued only when their dependencies are finished."""
# Job with unfinished dependency is not immediately enqueued

@ -20,4 +20,4 @@ basepython = python2.7
deps =
flake8
commands =
flake8 rq tests --max-line-length=120
flake8 rq tests

Loading…
Cancel
Save