Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Jun 7, 2024
1 parent 0738aba commit f39ffc9
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 11 deletions.
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ recursive-exclude frontend *
exclude instance.yaml
global-exclude *.pyc
global-exclude .DS_Store

recursive-include src *.gitkeep
recursive-include src *.po
recursive-include src *.pot
recursive-include src *.xml
recursive-include src *.zcml
3 changes: 2 additions & 1 deletion src/rohberg/voltosearchkitblockbackendaddon/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""Init and utils."""
import logging
from zope.i18nmessageid import MessageFactory

import logging


PACKAGE_NAME = "rohberg.voltosearchkitblockbackendaddon"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<layers>
<layer interface="rohberg.voltosearchkitblockbackendaddon.interfaces.IBrowserLayer"
name="rohberg.voltosearchkitblockbackendaddon"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<object name="portal_catalog">
<!-- Index
<!-- Index
<index meta_type="FieldIndex"
name="industry"
>
<indexed_attr value="industry" />
</index>
-->
<!-- Metadata
<!-- Metadata
<column value="industry" />
-->
</object>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<version>1000</version>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<theme>
<name>barceloneta</name>
<enabled>true</enabled>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<object meta_type="Plone Types Tool"
name="portal_types"
>
<!--
<!--
<object meta_type="Dexterity FTI"
name="MyType"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<layers>
<layer name="rohberg.voltosearchkitblockbackendaddon"
remove="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
@implementer(IJSONSummarySerializerMetadata)
class JSONSummarySerializerMetadata:
"""Additional metadata to be exposed on listings."""

def default_metadata_fields(self):
return {"image_field", "image_scales", "effective", "Subject"}
3 changes: 2 additions & 1 deletion src/rohberg/voltosearchkitblockbackendaddon/testing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import rohberg.voltosearchkitblockbackendaddon # noQA
from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FIXTURE
from plone.app.robotframework.testing import REMOTE_LIBRARY_BUNDLE_FIXTURE
from plone.app.testing import applyProfile
Expand All @@ -7,6 +6,7 @@
from plone.app.testing import PloneSandboxLayer
from plone.testing.zope import WSGI_SERVER_FIXTURE

import rohberg.voltosearchkitblockbackendaddon # noQA


class Layer(PloneSandboxLayer):
Expand All @@ -24,6 +24,7 @@ def setUpZope(self, app, configurationContext):
def setUpPloneSite(self, portal):
applyProfile(portal, "rohberg.voltosearchkitblockbackendaddon:default")


FIXTURE = Layer()

INTEGRATION_TESTING = IntegrationTesting(
Expand Down

0 comments on commit f39ffc9

Please sign in to comment.