mirror of
https://github.com/django/django.git
synced 2025-04-25 09:44:36 +00:00
Fixed flake8 warnings.
This commit is contained in:
parent
28634394f5
commit
1e64a1e7b1
@ -37,6 +37,7 @@ class Div3Transform(models.Transform):
|
|||||||
lhs, lhs_params = qn.compile(self.lhs)
|
lhs, lhs_params = qn.compile(self.lhs)
|
||||||
return 'mod(%s, 3)' % lhs, lhs_params
|
return 'mod(%s, 3)' % lhs, lhs_params
|
||||||
|
|
||||||
|
|
||||||
class Div3BilateralTransform(Div3Transform):
|
class Div3BilateralTransform(Div3Transform):
|
||||||
bilateral = True
|
bilateral = True
|
||||||
|
|
||||||
@ -49,6 +50,7 @@ class Mult3BilateralTransform(models.Transform):
|
|||||||
lhs, lhs_params = qn.compile(self.lhs)
|
lhs, lhs_params = qn.compile(self.lhs)
|
||||||
return '3 * (%s)' % lhs, lhs_params
|
return '3 * (%s)' % lhs, lhs_params
|
||||||
|
|
||||||
|
|
||||||
class UpperBilateralTransform(models.Transform):
|
class UpperBilateralTransform(models.Transform):
|
||||||
bilateral = True
|
bilateral = True
|
||||||
lookup_name = 'upper'
|
lookup_name = 'upper'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user