zulip/zerver
Greg Price ff5013c619 JsonableError: Add types, and eliminate duck-typing.
In order to benefit from the modern conveniences of type-checking,
add concrete, non-Any types to the interface for JsonableError.

Relatedly, there's no need at this point to duck-type things at
the places where we receive a JsonableError and try to use it.
Simplify those by using straightforward standard typing.
2017-07-24 16:41:22 -07:00
..
fixtures markdown.js: Move markdown.js test to bugdown-data.json. 2017-07-18 12:56:47 -07:00
lib JsonableError: Add types, and eliminate duck-typing. 2017-07-24 16:41:22 -07:00
management tornado: Move setup_tornado_rabbitmq to application.py 2017-07-21 09:55:25 +05:00
migrations mypy: Fix incorrect mypy annotation in migration. 2017-07-18 12:56:23 -07:00
templatetags tidying: Combine multiple 'import typing' lines onto one line. 2017-07-16 16:43:21 -07:00
tests outgoing webhooks: Remove process_failure interface method. 2017-07-24 14:10:14 -07:00
tornado JsonableError: Add types, and eliminate duck-typing. 2017-07-24 16:41:22 -07:00
views registration: Remove organization type selection in realm creation. 2017-07-21 13:09:06 -07:00
webhooks webhooks/slack: Support unicode. 2017-07-20 10:30:03 -07:00
worker outgoing webhooks: Consolidate interfaces into lib/outgoing_webhook.py 2017-07-24 14:10:14 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py Add notifications on new logins to Zulip. 2017-03-25 16:50:52 -07:00
context_processors.py settings: Change all uses of ZULIP_ADMINISTRATOR to FromAddress.SUPPORT. 2017-07-05 15:33:01 -07:00
decorator.py decorator: Handle invalid JSON in api_key_only_webhook_view. 2017-07-19 10:42:35 -07:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
forms.py registration: Remove organization type selection in realm creation. 2017-07-21 13:09:06 -07:00
logging_handlers.py logging_handlers: Fix tracebacks being emailed in subject lines. 2017-04-25 18:55:11 -07:00
middleware.py JsonableError: Add types, and eliminate duck-typing. 2017-07-24 16:41:22 -07:00
models.py Add outgoing webhook interface for Slack. 2017-07-24 14:10:14 -07:00
signals.py emails: Add to_user_id argument to send_email. 2017-07-16 16:56:39 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py pep8: Add compliance with rule E261 to storage.py. 2017-05-07 23:21:50 -07:00