flake8: main integration tests - ishare
flake8: main integration tests - itimeline
flake8: main integration tests - itypes
flake8: main integration tests - iupdate
flake8: main integration tests - librarytest
flake8: main integration tests - metadatastore
flake8: main integration tests - model42
flake8: main integration tests - permissions
flake8: main integration tests - pixelsService
flake8: main integration tests - rawfilestore
flake8: main integration tests - rawpixelsstore
flake8: main integration tests - reimport
flake8: main integration tests - reporawfilestore
flake8: main integration tests - repository
flake8: main integration tests - rois
flake8: main integration tests - scripts
flake8: main integration tests - search
flake8: main integration tests - simple
flake8: main integration tests - thumbnailPerms
flake8: main integration tests - thumbs

try/except around PIL import removed as this is duplicated
in the open_jpeg_buffer() method in library.