Alvaro Caceres
e60c3de954
Update pytype blacklist. ( #430 )
...
Broke travis with recent pytype push
2016-08-02 07:45:46 -07:00
Alvaro Caceres
4c20cd6711
2and3/mmap.pyi : remove "type: ignore" ( #425 )
...
First was for mypy compatibility, but is no longer needed.
Second is removed by going inheriting (Iterable[bytes],
Container[bytes], Sized, Reversible[bytes]) instead of
Sequence[bytes]. Should presumably catch more errors when using __getattr__
2016-08-01 14:20:37 -07:00
Alvaro Caceres
f72afd0ad1
Update pytype blacklist ( #422 )
2016-07-29 15:45:09 -07:00
Alvaro Caceres
6701a10e93
Add 2.7/decimal.pyi generated by stubgen ( #414 )
...
* add decimaly.pyi
generated with
stubgen --py2 decimal
* Strip out private stuff
* pytype compatibility
* fixes
2016-07-28 11:09:48 -07:00
Alvaro Caceres
b968bfcb1c
Update pytype test blacklist ( #411 )
2016-07-27 15:43:48 -07:00
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