Imports cleanup
authorThierry Florac <thierry.florac@onf.fr>
Fri, 12 Oct 2018 08:27:14 +0200
changeset 141 c678b88b390b
parent 140 03ed2cdc774b
child 142 dff3e8842726
Imports cleanup
src/pyams_file/image.py
--- a/src/pyams_file/image.py	Fri Oct 12 08:16:50 2018 +0200
+++ b/src/pyams_file/image.py	Fri Oct 12 08:27:14 2018 +0200
@@ -9,25 +9,20 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-from pyramid.renderers import render
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
 import re
-
 from io import BytesIO
-from PIL import Image, ImageFilter
 
-# import interfaces
-from pyams_file.interfaces import IImage, IThumbnailer, IThumbnailGeometry, IThumbnails, IResponsiveImage
-from pyams_utils.interfaces.tales import ITALESExtension
+from PIL import Image, ImageFilter
+from pyramid.renderers import render
+from zope.interface import Interface, implementer
+from zope.schema.fieldproperty import FieldProperty
 
-# import packages
-from pyams_utils.adapter import adapter_config, ContextAdapter, ContextRequestViewAdapter
-from zope.interface import implementer, Interface
-from zope.schema.fieldproperty import FieldProperty
+from pyams_file.interfaces import IImage, IResponsiveImage, IThumbnailGeometry, IThumbnailer, IThumbnails
+from pyams_utils.adapter import ContextAdapter, ContextRequestViewAdapter, adapter_config
+from pyams_utils.interfaces.tales import ITALESExtension
 
 from pyams_file import _