Commit Graph
13 Commits
Author SHA1 Message Date
Alvaro Caceres 746f4db989 Change constants to type-equivalent versions (#392)
* Change constants to type-equivalent versions

For pytype support.

" = object()" -> " = ..."
Non-zero ints -> 0

* Drop changes to typing and __builtin__
2016-07-25 13:03:42 -07:00
alvarocaceres d7db6221da Change imports so pytype can parse them (#394)
* Change imports so pytype can parse them

relative imports -> absolute
import foo.bar as baz -> equivalent "from foo ..."

* fixup ...
2016-07-22 13:04:09 -07:00
alvarocaceres b676e4af92 Remove non-stub code from pyis (#391)
* Remove non-stub code from pyis

Also removed @abstractmethod decorators from codecs stub

* add back @abstractmethod
2016-07-22 11:10:13 -07:00
alvarocaceres f7b35bc8be Remove line continuations to help pytype parse (#390) 2016-07-22 10:55:42 -07:00
alvarocaceres e02332a787 Misc. changes to help pytype parse typeshed (#382) 2016-07-21 13:08:12 -07:00
alvarocaceres c1b12970f6 Change empty string literals to ellipsis (#377)
For pytype compatibility
2016-07-20 10:57:32 -07:00
alvarocaceres ac5916c170 Tweak version tests to help pytype parse them (#374) 2016-07-19 07:43:35 -07:00
Alvaro Caceres 67ccb1b450 revert unnecessary change to mypy_test from previous commit 2016-07-12 18:46:09 -05:00
alvarocaceres 63cbe2dc3c Refactor how test are run, add tests to exercise pytype (if installed) (#353) 2016-07-12 15:30:54 -07:00
Alvaro Caceres 122da1ca3f Add Any for collections.pyi 2016-06-15 15:57:55 -05:00
Alvaro Caceres 84c76f8188 csv module: make reader() and writer() return types private and non-abstract 2016-06-15 14:12:06 -05:00
Alvaro Caceres d0ac66f5f8 Use "..." for attribute values, instead of None, [], {} 2016-06-15 14:10:04 -05:00
Alvaro Caceres 5886a5dfcd Fix signatures of call, check_call and check_output in subprocess 2016-06-15 13:34:02 -05:00