Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Dec 5, 2024
1 parent 3bfd962 commit 71754f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions backend/src/collective/volto/formsupport/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from plone.dexterity.content import DexterityContent
from zope import schema
from zope.interface import Attribute
from zope.interface import Interface
from zope.publisher.interfaces.browser import IDefaultBrowserLayer
from zope import schema
from ZPublisher.BaseRequest import BaseRequest

import dataclasses
Expand Down Expand Up @@ -106,13 +106,11 @@ def __call__():
${mail_footer}
"""

class IFormSettings(Interface):

class IFormSettings(Interface):
mail_templates = schema.Dict(
title="Email templates",
key_type=schema.TextLine(),
value_type=schema.Text(),
default={
"default": DEFAULT_TEMPLATE
}
default={"default": DEFAULT_TEMPLATE},
)
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
>

<records interface="collective.volto.formsupport.interfaces.IFormSettings"
prefix="schemaform" />
prefix="schemaform"
/>

</registry>

0 comments on commit 71754f9

Please sign in to comment.