Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Sep 21, 2023
1 parent 974a5aa commit 67dd97c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions src/redturtle/volto/restapi/deserializer/dxfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@
from plone.app.textfield.interfaces import IRichText
from plone.dexterity.interfaces import IDexterityContent
from plone.restapi.deserializer.blocks import path2uid
from plone.restapi.deserializer.dxfields import DatetimeFieldDeserializer as DefaultDatetimeFieldDeserializer
from plone.restapi.deserializer.dxfields import RichTextFieldDeserializer as BaseRichTextDeserializer
from plone.restapi.deserializer.dxfields import TextLineFieldDeserializer as BaseTextLineDeserializer
from plone.restapi.deserializer.dxfields import (
DatetimeFieldDeserializer as DefaultDatetimeFieldDeserializer,
)
from plone.restapi.deserializer.dxfields import (
RichTextFieldDeserializer as BaseRichTextDeserializer,
)
from plone.restapi.deserializer.dxfields import (
TextLineFieldDeserializer as BaseTextLineDeserializer,
)
from plone.restapi.interfaces import IFieldDeserializer
from Products.CMFPlone.utils import safe_unicode
from pytz import timezone
Expand Down
4 changes: 3 additions & 1 deletion src/redturtle/volto/restapi/search/query.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
from plone.restapi.interfaces import IIndexQueryParser
from plone.restapi.search.query import ZCTextIndexQueryParser as BaseZCTextIndexQueryParser
from plone.restapi.search.query import (
ZCTextIndexQueryParser as BaseZCTextIndexQueryParser,
)
from Products.ZCTextIndex.ZCTextIndex import ZCTextIndex
from redturtle.volto.interfaces import IRedturtleVoltoLayer
from zope.component import adapter
Expand Down
4 changes: 3 additions & 1 deletion src/redturtle/volto/restapi/serializer/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
from plone.restapi.deserializer import json_body
from plone.restapi.imaging import get_scale_infos
from plone.restapi.interfaces import ISerializeToJsonSummary
from plone.restapi.serializer.summary import DefaultJSONSummarySerializer as BaseSerializer
from plone.restapi.serializer.summary import (
DefaultJSONSummarySerializer as BaseSerializer,
)
from plone.restapi.serializer.utils import uid_to_url
from redturtle.volto.interfaces import IRedturtleVoltoLayer
from zope.component import adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
from plone.restapi.interfaces import ISerializeToJson
from plone.restapi.interfaces import ISerializeToJsonSummary
from plone.restapi.services import Service
from plone.restapi.services.querystringsearch.get import QuerystringSearch as BaseQuerystringSearch
from plone.restapi.services.querystringsearch.get import (
QuerystringSearch as BaseQuerystringSearch,
)
from redturtle.volto.config import MAX_LIMIT
from urllib import parse
from zExceptions import BadRequest
Expand Down

0 comments on commit 67dd97c

Please sign in to comment.