Commit Graph

22 Commits

Author SHA1 Message Date
Guido van Rossum a353aabbcd Add commented-out flag to use --fast-parser. 2016-09-15 16:49:56 -07:00
Guido van Rossum d131efcaa0 Skip "module" whose name starts with ".". 2016-09-15 16:20:28 -07:00
Matthias Kramm 7a7873aa94 adjust pytype blacklist (#529)
Remove argparse, tarfile and logging/handlers.
2016-09-09 12:28:54 -07:00
Matthias Kramm e70be5fbe2 trim pytype testing blacklist (#527) 2016-09-09 06:30:36 -07:00
Valérian Rousset 1d5b35b2a5 Merge tarfile (#467) 2016-09-03 08:40:45 -07:00
Matthias Kramm 044d11f9ee clean up unittest.py (#509)
* clean up unittest.py

Remove duplicates, adjust wrapping.

* also remove unittest from pytype blacklist
2016-08-31 07:27:53 -07:00
Matthias Kramm c46993aa8e Add mypy blacklist, same syntax as pytype blacklist. (#508) 2016-08-29 14:23:39 -07:00
Valérian Rousset 2c21f27310 Add plistlib (#433)
* py3 done

* py2 done

* fix by matthiaskramm

* remove plistlib from pytype checking

* add unicode for path in py2

* add readPlistFromString (and write) in py2
2016-08-02 14:52:26 -07:00
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 b968bfcb1c Update pytype test blacklist (#411) 2016-07-27 15:43:48 -07:00
Guido van Rossum 39325bf159 Mypy now supports sys.platform and sys.version_info checks (#410) 2016-07-27 13:25:29 -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
Matthias Kramm 395265b9fb trim blacklist (#370)
Remove files that now work with pytype from blacklist.
2016-07-15 10:17:47 -07:00
Valérian Rousset 8ef221c162 add zipfile for py2 (#345) 2016-07-15 05:55:20 -07:00
Guido van Rossum f47ff0b966 Add --strict-optional flag to mypy (#368) 2016-07-13 17:50:36 +01: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