Skip to content

Commit 220a973

Browse files
committed
chore: isort
1 parent c0ce4e0 commit 220a973

19 files changed

Lines changed: 0 additions & 19 deletions

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from pathlib import Path
22
from setuptools import setup
33

4-
54
long_description = (
65
f"{Path('README.rst').read_text()}\n{Path('CHANGES.rst').read_text()}"
76
)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
from zope.i18nmessageid import MessageFactory
22

3-
43
_ = MessageFactory("plone")

src/plone/app/discussion/behavior.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from zope.schema.vocabulary import SimpleTerm
1010
from zope.schema.vocabulary import SimpleVocabulary
1111

12-
1312
options = SimpleVocabulary(
1413
[
1514
SimpleTerm(value=True, title=_("Yes")),

src/plone/app/discussion/browser/comments.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
from zope.i18nmessageid import Message
3434
from zope.interface import alsoProvides
3535

36-
3736
COMMENT_DESCRIPTION_PLAIN_TEXT = _(
3837
"comment_description_plain_text",
3938
default="You can add a comment by filling out the form below. "

src/plone/app/discussion/browser/moderation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from Products.statusmessages.interfaces import IStatusMessage
1616
from zope.event import notify
1717

18-
1918
# Translations for generated values in buttons
2019
# States
2120
_("comment_pending", default="pending")

src/plone/app/discussion/browser/restapi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from zope.component import adapter
1111
from zope.interface import Interface
1212

13-
1413
try:
1514
from plone.restapi.interfaces import IControlpanelLayer
1615
except ImportError:

src/plone/app/discussion/browser/validator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from zope.interface import Interface
1515
from zope.schema.interfaces import IField
1616

17-
1817
try:
1918
from collective.z3cform.norobots.validator import WrongNorobotsAnswer
2019
except ImportError:

src/plone/app/discussion/catalog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from Products.CMFCore.interfaces import IContentish
1414
from Products.ZCatalog.interfaces import IZCatalog
1515

16-
1716
MAX_DESCRIPTION = 25
1817

1918
# Conversation Indexers

src/plone/app/discussion/comment.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
import logging
4444

45-
4645
COMMENT_TITLE = _(
4746
"comment_title",
4847
default="${author_name} on ${content}",

src/plone/app/discussion/contentrules.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from plone.app.discussion import _
44

5-
65
try:
76
from plone.stringinterp.adapters import BaseSubstitution
87
except ImportError:

0 commit comments

Comments
 (0)