black reformat, some fixes

This commit is contained in:
Maxim Kurnikov
2018-12-06 19:13:06 +03:00
parent 25a71a7ef5
commit 5ec2830ba6
108 changed files with 673 additions and 187 deletions

View File

@@ -141,7 +141,9 @@ class TruncBase(TimezoneMixin, Transform):
summarize: bool = ...,
for_save: bool = ...,
) -> TruncBase: ...
def convert_value(self, value: datetime, expression: models.functions.TruncBase, connection: DatabaseWrapper) -> datetime: ...
def convert_value(
self, value: datetime, expression: models.functions.TruncBase, connection: DatabaseWrapper
) -> datetime: ...
class Trunc(TruncBase):
contains_aggregate: bool