Skip to content

Commit

Permalink
blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-andreotti committed Jul 1, 2024
1 parent aa03c5e commit 507fe4b
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/iosanita/contenttypes/behaviors/argomenti.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ class Argomenti(object):
""""""

def __init__(self, context):
self.context = context
self.context = context
4 changes: 2 additions & 2 deletions src/iosanita/contenttypes/behaviors/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package="plone.behavior"
file="meta.zcml"
/>

<plone:behavior
name="iosanita.contenttypes.behavior.argomenti"
title="Argomenti"
Expand All @@ -18,7 +18,7 @@
for="plone.dexterity.interfaces.IDexterityContent"
marker=".argomenti.IArgomenti"
/>

<plone:behavior
name="iosanita.contenttypes.behavior.additional_help_infos"
title="Ulteriori campi aiuto testuali"
Expand Down
1 change: 0 additions & 1 deletion src/iosanita/contenttypes/behaviors/contatti.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from zope.interface import provider



@provider(IFormFieldProvider)
class IContattiStep(model.Schema):
contact_info = RelationList(
Expand Down
2 changes: 0 additions & 2 deletions src/iosanita/contenttypes/behaviors/descrizione_estesa.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ class IDescrizioneEstesa(IDescrizioneEstesaSchema):
form.order_after(descrizione_estesa="IBasic.description")



@implementer(IDescrizioneEstesa)
@adapter(IDexterityContent)
class DescrizioneEstesa(object):
""""""

def __init__(self, context):
self.context = context

3 changes: 1 addition & 2 deletions src/iosanita/contenttypes/interfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ class IIosanitaContenttypesLayer(IRedturtleVoltoLayer):

class IIosanitaContenttypes(Interface):
"""
Marker interface
Marker interface
"""

2 changes: 0 additions & 2 deletions src/iosanita/contenttypes/interfaces/come_fare_per.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class IComeFarePer(model.Schema, IIosanitaContenttypes):
),
)


# form.widget(
# "dove_rivolgersi",
# RelatedItemsFieldWidget,
Expand All @@ -131,4 +130,3 @@ class IComeFarePer(model.Schema, IIosanitaContenttypes):
# vocabulary="plone.app.vocabularies.Catalog",
# pattern_options={"selectableTypes": ["Documento"]},
# )

3 changes: 0 additions & 3 deletions src/iosanita/contenttypes/interfaces/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class IStep(model.Schema, IIosanitaContenttypes):
"""Marker interface for content type Servizio"""


testo = BlocksField(
title=_("testo_label", default="Testo"),
description=_(
Expand Down Expand Up @@ -49,7 +48,6 @@ class IStep(model.Schema, IIosanitaContenttypes):
required=False,
)


# form.widget(
# "dove",
# RelatedItemsFieldWidget,
Expand All @@ -64,4 +62,3 @@ class IStep(model.Schema, IIosanitaContenttypes):
# vocabulary="plone.app.vocabularies.Catalog",
# pattern_options={"selectableTypes": ["Documento"]},
# )

2 changes: 1 addition & 1 deletion src/iosanita/contenttypes/permissions.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
id="iosanita.contenttypes.AddComeFarePer"
title="iosanita.contenttypes: Add ComeFarePer"
/>
<permission
<permission
id="iosanita.contenttypes.AddStep"
title="iosanita.contenttypes: Add Step"
/>
Expand Down

0 comments on commit 507fe4b

Please sign in to comment.