neiljp (Neil Pilgrim)
fec59b29cd
Tools/mypy: Enforce typed generics in tools/run-mypy.
...
This adds the "--disallow-any=generics" option to run-mypy, which no
longer permits:
- inheriting from "list"; use "List[sometype]" (or a TypeVar)
- generic types with no following square brackets specifying the type
(even if initially 'Any')
Any (and '...' for Callable) is a lot easier to search for than an
absence of square brackets, and should improve overall typing quality.
2017-11-08 12:40:40 -08:00
neiljp (Neil Pilgrim)
790cd5e7c8
mypy: Specify generic type parameters in cachify decorator.
...
Use of the decorator in event_queue.py suggests concrete return type,
for application of copy() function.
2017-11-08 12:40:40 -08:00
Tim Abbott
94554c65da
certbot: Modify nginx configuration to support automated renewal.
2017-11-08 12:32:26 -08:00
Tim Abbott
38dc43fdf8
certbot: Use --standalone mode during installer.
...
This should help avoid problems, since we don't need to install
`nginx` before using this mode.
2017-11-08 12:32:26 -08:00
Tim Abbott
62bb465896
puppet: Modify lb0 nginx configuration.
2017-11-08 12:32:26 -08:00
Brock Whittaker
dfb3597eb2
left-sidebar: Remove leading whitespace underline on global filters.
...
This removes the leading whitespace that was approximately the width of
a space character that would get underlined when hovering over any one
of the global filters.
2017-11-08 12:29:40 -08:00
Steve Howell
c3b89845c9
node tests: Use zrequire in typing_status.js.
2017-11-08 12:24:17 -08:00
Steve Howell
0fc20bf943
node tests: Use zrequire in typing_data.js.
2017-11-08 12:24:17 -08:00
Steve Howell
c32f69bef6
node tests: Use zrequire in topic_data.js.
2017-11-08 12:24:17 -08:00
Steve Howell
1dc5218ef5
node tests: Use zrequire in rtl.js.
2017-11-08 12:24:17 -08:00
Steve Howell
f65d3316e0
node tests: Use zrequire in recent_senders.js.
2017-11-08 12:24:17 -08:00
Steve Howell
34bddd26d8
node tests: Use zrequire in pm_conversations.js.
2017-11-08 12:24:17 -08:00
Steve Howell
99695da799
node tests: Use zrequire in people.js.
2017-11-08 12:24:17 -08:00
Steve Howell
6304aea4bc
node tests: Use zrequire in hotkey.js.
2017-11-08 12:24:17 -08:00
Steve Howell
bf0ed5915c
node tests: Use zrequire in common.js.
2017-11-08 12:24:17 -08:00
Steve Howell
adb02b37ce
node tests: Use zrequire in colorspace.js.
2017-11-08 12:24:17 -08:00
Steve Howell
e0fa317be1
node_tests: Remove unneeded var statements.
...
Variables like Dict/_/assert are already globally defined.
2017-11-08 12:24:17 -08:00
Steve Howell
bef176f5f6
node tests: Use zrequire in channel.js.
2017-11-08 12:24:17 -08:00
Steve Howell
7a68add9a4
Remove unneeded requires in activity.js.
2017-11-08 12:24:17 -08:00
Steve Howell
cdc1bf3d5e
node test: Remove add_dependencies().
2017-11-08 12:24:17 -08:00
Steve Howell
a1c5b0928e
node tests: Use zrequire in util.js.
2017-11-08 12:24:17 -08:00
Steve Howell
8cdd08a02a
node tests: Use zrequire in user_events.js.
2017-11-08 12:24:17 -08:00
Steve Howell
9b9ff5cce3
node tests: Use zrequire in unread.js.
2017-11-08 12:24:17 -08:00
Steve Howell
c233bb53fd
node tests: Use zrequire in typeahead_helper.js.
2017-11-08 12:24:17 -08:00
Steve Howell
c38081b528
node tests: Use zrequire in topic_generator.js.
2017-11-08 12:24:17 -08:00
Steve Howell
de341e88c5
node tests: Use zrequire in timerender.js.
2017-11-08 12:24:17 -08:00
Steve Howell
83c9b1134e
node tests: Use zrequire in templates.js.
2017-11-08 12:24:17 -08:00
Steve Howell
4ef8df15c9
node tests: Use zrequire in subs.js.
2017-11-08 12:24:17 -08:00
Steve Howell
b3bfca9c2e
node tests: Use zrequire in stream_sort.js.
2017-11-08 12:24:17 -08:00
Steve Howell
c12d46284f
node tests: Use zrequire in stream_events.js.
2017-11-08 12:24:17 -08:00
Steve Howell
2c1a855cae
node tests: Use zrequire in settings_org.js.
2017-11-08 12:24:17 -08:00
Steve Howell
9489c5d0a8
node tests: Use zrequire in settings_bots.js.
2017-11-08 12:24:17 -08:00
Steve Howell
f720aad260
node tests: Use zrequire in server_events.js.
2017-11-08 12:24:17 -08:00
Steve Howell
19ca4bff82
node tests: Use zrequire in search_suggestion.js.
2017-11-08 12:24:17 -08:00
Steve Howell
5db2f3e087
node tests: Use zrequire in reactions.js.
2017-11-08 12:24:17 -08:00
Steve Howell
23313f2ddf
node tests: Use zrequire in presence.js.
2017-11-08 12:24:17 -08:00
Steve Howell
14631b8748
node tests: Use zrequire in password.js.
2017-11-08 12:24:17 -08:00
Steve Howell
65dc6a0975
node tests: Use zrequire in narrow_state.js.
2017-11-08 12:24:17 -08:00
Steve Howell
2fac1fe6c9
node tests: Use zrequire in muting.js.
2017-11-08 12:24:17 -08:00
Steve Howell
8f0b396140
node tests: Use zrequire in message_store.js.
2017-11-08 12:24:17 -08:00
Steve Howell
180f910764
node tests: Use zrequire in message_list_view.js.
2017-11-08 12:24:17 -08:00
Steve Howell
98c4ee3175
node tests: Use zrequire in message_list.js.
2017-11-08 12:24:17 -08:00
Steve Howell
84f547004c
node tests: Use zrequire in message_edit.js.
2017-11-08 12:24:17 -08:00
Steve Howell
ba79558257
node tests: Use zrequire in markdown.js.
2017-11-08 12:24:17 -08:00
Steve Howell
914cf175c0
node tests: Use zrequire in i18n.js.
2017-11-08 12:24:17 -08:00
Steve Howell
1ba0315aad
node tests: Use zrequire in hashchange.js.
2017-11-08 12:24:17 -08:00
Steve Howell
b2775506a4
node tests: Use zrequire in filter.js.
2017-11-08 12:24:17 -08:00
Steve Howell
ad59600062
node tests: Use zrequire in emoji_picker.js.
2017-11-08 12:24:17 -08:00
Steve Howell
c307356d33
node tests: Use zrequire in emoji.js.
2017-11-08 12:24:17 -08:00
Steve Howell
f6f227d089
node tests: Use zrequire in drafts.js.
2017-11-08 12:24:17 -08:00