Ben Darnell
ceca6f3120
Merge pull request #2466 from bdarnell/mypy
...
concurrent, gen: Add type annotations. Expand type checking of tests
2018-08-11 13:43:13 -04:00
Ben Darnell
467fec4b75
gen: Type annotate the module
...
This is a tricky module to type. In some cases mypy just isn't able to
express things (e.g. decorators that preserve the parameter types of
their functions but change the return type), and in others I think
it's possible to do better but I haven't figured out how (preserving
types passed through with_timeout).
2018-08-11 13:23:42 -04:00
Ben Darnell
4db70791b8
concurrent: Type-annotate module
2018-08-11 11:54:44 -04:00
Ben Darnell
d3e1fb3c70
test: Partially typecheck tests for annotated modules
...
The only type annotations added were those required by mypy. This
found some errors in the original annotations.
2018-08-11 11:54:44 -04:00
aaronjheng
acf0a589df
include license file in the wheel package
2018-08-09 15:47:23 +08:00
Ben Darnell
dd0bb17c00
escape: Type-annotate everything
2018-07-21 19:09:05 -04:00
Ben Darnell
c0d6434eb7
httputil: Type-annotate all methods
2018-07-21 19:09:05 -04:00
Ben Darnell
27a726068b
util: Type-annotate everything
...
There are a few functional changes here, including some changes
related to removing py27.
2018-07-21 19:09:05 -04:00