anonymousland-synapse/synapse/rest/media/v1
Richard van der Hoff ef771cc4c2 Fix a number of flake8 errors
Broadly three things here:

* disable W504 which seems a bit whacko
* remove a bunch of `as e` expressions from exception handlers that don't use
  them
* use `r""` for strings which include backslashes

Also, we don't use pep8 any more, so we can get rid of the duplicate config
there.
2018-10-24 10:39:03 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
config_resource.py Add GET media/v1/config (#3184) 2018-08-16 14:23:38 +01:00
download_resource.py added "media-src: 'self'" to CSP for resources (#3578) 2018-09-25 11:55:02 +01:00
filepath.py run isort 2018-07-09 16:09:20 +10:00
identicon_resource.py check isort by travis 2018-07-16 13:57:33 +02:00
media_repository.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
media_storage.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
preview_url_resource.py Fix a number of flake8 errors 2018-10-24 10:39:03 +01:00
storage_provider.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
thumbnail_resource.py run isort 2018-07-09 16:09:20 +10:00
thumbnailer.py run isort 2018-07-09 16:09:20 +10:00
upload_resource.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00