From 1e64a1e7b11490b203f4f12b41da63a3e2d4e410 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 28 Oct 2014 10:12:10 -0400 Subject: [PATCH] Fixed flake8 warnings. --- tests/custom_lookups/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/custom_lookups/tests.py b/tests/custom_lookups/tests.py index d0f18c5d7b..f673e78b72 100644 --- a/tests/custom_lookups/tests.py +++ b/tests/custom_lookups/tests.py @@ -37,6 +37,7 @@ class Div3Transform(models.Transform): lhs, lhs_params = qn.compile(self.lhs) return 'mod(%s, 3)' % lhs, lhs_params + class Div3BilateralTransform(Div3Transform): bilateral = True @@ -49,6 +50,7 @@ class Mult3BilateralTransform(models.Transform): lhs, lhs_params = qn.compile(self.lhs) return '3 * (%s)' % lhs, lhs_params + class UpperBilateralTransform(models.Transform): bilateral = True lookup_name = 'upper'