rht
|
9a8d2244ca
|
django-2.0: Shift to resolvers from urlresolvers.
The old name is deprecated.
|
2018-01-30 10:53:54 -08:00 |
Tim Abbott
|
dc8dd2333c
|
tornado: Sort imports in files with no merge conflicts.
|
2017-11-15 15:53:11 -08:00 |
rht
|
19bd335cbb
|
Change urllib import to be Python 3-specific.
|
2017-11-07 10:46:42 -08:00 |
neiljp (Neil Pilgrim)
|
452802bf75
|
mypy: Add Callable parameters/returns to AsyncDjangoHandler in handlers.py,
|
2017-10-31 00:03:35 -07:00 |
rht
|
c4fcff7178
|
refactor: Replace super(.*self) with Python 3-specific super().
We change all the instances except for the `test_helpers.py`
TimeTrackingCursor monkey-patching, which actually needs to specify
the base class.
|
2017-10-30 14:30:25 -07:00 |
rht
|
1047733486
|
zerver/tornado: Use python 3 syntax for typing.
|
2017-10-26 21:58:22 -07:00 |
rht
|
241e318eba
|
zerver/tornado: remove `import six`.
|
2017-09-27 19:10:28 -07:00 |
rht
|
b8aa92194c
|
zerver/tornado: Remove print_function.
|
2017-09-27 18:05:45 -07:00 |
rht
|
74fd3d9f31
|
zerver/tornado: Remove absolute_import.
|
2017-09-27 10:00:39 -07:00 |
neiljp (Neil Pilgrim)
|
b782db48e1
|
mypy: Remove superfluous older 'type: ignore' annotations.
|
2017-08-08 11:27:51 -07:00 |
Umair Khan
|
95fc16d90d
|
Django 1.11: MIDDLEWARE_CLASSES setting is deprecated.
Django provides MiddlewareMixin to upgrade old-style middlewares. See
https://docs.djangoproject.com/en/1.11/topics/http/middleware/#upgrading-middleware
|
2017-06-13 15:04:04 -07:00 |
Tim Abbott
|
315a9ee72e
|
handlers: Fix type of zulip_finish.
|
2017-05-23 17:36:19 -07:00 |
Aditya Bansal
|
5c82319101
|
pep8: Add compliance with rule E261 to handlers.py.
|
2017-05-07 23:21:50 -07:00 |
Tim Abbott
|
2b62c4fa38
|
mypy: Fix missing annotation in Tornado handlers.
This was accidentally removed in
9866124b78 , but is needed on the current
mypy version.
|
2017-03-19 22:26:25 -07:00 |
Tim Abbott
|
9866124b78
|
mypy: Fix some new errors flagged by latest mypy master.
Mostly list -> List bugs in annotations.
|
2017-03-19 21:03:45 -07:00 |
sinwar
|
6f0564e9f4
|
python: Fix remaining bare excepts in codebase.
Fixes #2862.
|
2017-03-05 16:17:04 -08:00 |
Raghav Jajodia
|
a3a03bd6a5
|
mypy: Added Dict, List and Set imports.
Fixed mypy errors associated with the upgrade.
|
2017-03-04 14:33:44 -08:00 |
Sidhant Bhavnani
|
8c0c12c1d9
|
pep8: Fix E303 violations.
|
2016-12-02 15:34:11 -08:00 |
Tim Abbott
|
169d404579
|
tornado: Move zerver.lib.handlers into zerver.tornado.handlers.
This cleans up the confusingly duplicated file names, while also
moving more of the Tornado-specific code under zerver/tornado/.
|
2016-11-26 22:29:28 -08:00 |
Tim Abbott
|
d75f49b119
|
tornado: Move descriptor dict management code to handlers.py.
|
2016-11-26 22:29:28 -08:00 |
Tim Abbott
|
f2782971e0
|
tornado: Clean up AsyncDjangoHandler Python style.
|
2016-11-26 22:05:04 -08:00 |
Tim Abbott
|
9e9066f77a
|
tornado: Extract AsyncDjangoHandler to its own file.
|
2016-11-26 21:43:11 -08:00 |