diff --git a/setup.cfg b/setup.cfg index c444ef0..e35fcef 100644 --- a/setup.cfg +++ b/setup.cfg @@ -73,6 +73,9 @@ ignore = E203, # black takes care of spaces after commas E231, +per-file-ignores = + src/plone/base/interfaces/__init__.py:F401 + src/plone/base/permissions.py:F401,E402 [check-manifest] ignore = diff --git a/src/plone/base/interfaces/__init__.py b/src/plone/base/interfaces/__init__.py index 6cb90ec..23a2530 100644 --- a/src/plone/base/interfaces/__init__.py +++ b/src/plone/base/interfaces/__init__.py @@ -1,63 +1,63 @@ -from .basetool import IPloneBaseTool # noqa: F401 -from .basetool import IPloneCatalogTool # noqa: F401 -from .basetool import IPloneTool # noqa: F401 -from .breadcrumbs import IHideFromBreadcrumbs # noqa: F401 -from .constrains import IConstrainTypes # noqa: F401 -from .constrains import ISelectableConstrainTypes # noqa: F401 -from .controlpanel import IActionSchema # noqa: F401 -from .controlpanel import IControlPanel # noqa: F401 -from .controlpanel import IDateAndTimeSchema # noqa: F401 -from .controlpanel import IEditingSchema # noqa: F401 -from .controlpanel import IFilterSchema # noqa: F401 -from .controlpanel import IImagingSchema # noqa: F401 -from .controlpanel import ILinkSchema # noqa: F401 -from .controlpanel import ILoginSchema # noqa: F401 -from .controlpanel import IMailSchema # noqa: F401 -from .controlpanel import IMaintenanceSchema # noqa: F401 -from .controlpanel import IMarkupSchema # noqa: F401 -from .controlpanel import INavigationSchema # noqa: F401 -from .controlpanel import INewActionSchema # noqa: F401 -from .controlpanel import ISearchSchema # noqa: F401 -from .controlpanel import ISecuritySchema # noqa: F401 -from .controlpanel import ISiteSchema # noqa: F401 -from .controlpanel import ISocialMediaSchema # noqa: F401 -from .controlpanel import ITinyMCEAdvancedSchema # noqa: F401 -from .controlpanel import ITinyMCELayoutSchema # noqa: F401 -from .controlpanel import ITinyMCEPluginSchema # noqa: F401 -from .controlpanel import ITinyMCEResourceTypesSchema # noqa: F401 -from .controlpanel import ITinyMCESchema # noqa: F401 -from .controlpanel import ITinyMCESpellCheckerSchema # noqa: F401 -from .controlpanel import ITypesSchema # noqa: F401 -from .controlpanel import IUserGroupsSettingsSchema # noqa: F401 -from .events import IConfigurationChangedEvent # noqa: F401 -from .events import IReorderedEvent # noqa: F401 -from .events import ISiteManagerCreatedEvent # noqa: F401 -from .images import IImageScalesAdapter # noqa: F401 -from .images import IImageScalesFieldAdapter # noqa: F401 -from .installable import INonInstallable # noqa: F401 -from .interface import IInterfaceTool # noqa: F401 -from .language import ILanguage # noqa: F401 -from .login import IForcePasswordChange # noqa: F401 -from .login import IInitialLogin # noqa: F401 -from .login import ILogin # noqa: F401 -from .login import ILoginForm # noqa: F401 -from .login import ILoginFormSchema # noqa: F401 -from .login import ILoginHelpForm # noqa: F401 -from .login import ILoginHelpFormSchema # noqa: F401 -from .login import IRedirectAfterLogin # noqa: F401 -from .migration import IMigrationTool # noqa: F401 -from .password_reset import IPasswordResetToolView # noqa: F401 -from .password_reset import IPWResetTool # noqa: F401 -from .patterns import IPatternsSettings # noqa: F401 -from .properties import IPropertiesTool # noqa: F401 -from .properties import ISimpleItemWithProperties # noqa: F401 -from .resources import IBundleRegistry # noqa: F401 -from .resources import IResourceRegistry # noqa: F401 -from .siteroot import IMigratingPloneSiteRoot # noqa: F401 -from .siteroot import INavigationRoot # noqa: F401 -from .siteroot import IPloneSiteRoot # noqa: F401 -from .siteroot import ITestCasePloneSiteRoot # noqa: F401 -from .structure import INonStructuralFolder # noqa: F401 -from .syndication import ISiteSyndicationSettings # noqa: F401 -from .translationservice import ITranslationServiceTool # noqa: F401 -from .workflow import IWorkflowChain # noqa: F401 +from .basetool import IPloneBaseTool +from .basetool import IPloneCatalogTool +from .basetool import IPloneTool +from .breadcrumbs import IHideFromBreadcrumbs +from .constrains import IConstrainTypes +from .constrains import ISelectableConstrainTypes +from .controlpanel import IActionSchema +from .controlpanel import IControlPanel +from .controlpanel import IDateAndTimeSchema +from .controlpanel import IEditingSchema +from .controlpanel import IFilterSchema +from .controlpanel import IImagingSchema +from .controlpanel import ILinkSchema +from .controlpanel import ILoginSchema +from .controlpanel import IMailSchema +from .controlpanel import IMaintenanceSchema +from .controlpanel import IMarkupSchema +from .controlpanel import INavigationSchema +from .controlpanel import INewActionSchema +from .controlpanel import ISearchSchema +from .controlpanel import ISecuritySchema +from .controlpanel import ISiteSchema +from .controlpanel import ISocialMediaSchema +from .controlpanel import ITinyMCEAdvancedSchema +from .controlpanel import ITinyMCELayoutSchema +from .controlpanel import ITinyMCEPluginSchema +from .controlpanel import ITinyMCEResourceTypesSchema +from .controlpanel import ITinyMCESchema +from .controlpanel import ITinyMCESpellCheckerSchema +from .controlpanel import ITypesSchema +from .controlpanel import IUserGroupsSettingsSchema +from .events import IConfigurationChangedEvent +from .events import IReorderedEvent +from .events import ISiteManagerCreatedEvent +from .images import IImageScalesAdapter +from .images import IImageScalesFieldAdapter +from .installable import INonInstallable +from .interface import IInterfaceTool +from .language import ILanguage +from .login import IForcePasswordChange +from .login import IInitialLogin +from .login import ILogin +from .login import ILoginForm +from .login import ILoginFormSchema +from .login import ILoginHelpForm +from .login import ILoginHelpFormSchema +from .login import IRedirectAfterLogin +from .migration import IMigrationTool +from .password_reset import IPasswordResetToolView +from .password_reset import IPWResetTool +from .patterns import IPatternsSettings +from .properties import IPropertiesTool +from .properties import ISimpleItemWithProperties +from .resources import IBundleRegistry +from .resources import IResourceRegistry +from .siteroot import IMigratingPloneSiteRoot +from .siteroot import INavigationRoot +from .siteroot import IPloneSiteRoot +from .siteroot import ITestCasePloneSiteRoot +from .structure import INonStructuralFolder +from .syndication import ISiteSyndicationSettings +from .translationservice import ITranslationServiceTool +from .workflow import IWorkflowChain diff --git a/src/plone/base/permissions.py b/src/plone/base/permissions.py index e04f288..d00040f 100644 --- a/src/plone/base/permissions.py +++ b/src/plone/base/permissions.py @@ -1,4 +1,3 @@ -# flake8: noqa """ CMFPlone product permissions """ from AccessControl import ModuleSecurityInfo