Commit Graph
13 Commits
Author SHA1 Message Date
Rebecca Chen 3f8c08402d Remove an unnecessary entry from the pytype blacklist. (#2799) 2019-02-15 17:33:29 -08:00
Rebecca Chen d275e73e1f Remove pytype workaround in os/__init__.pyi. (#2797)
Pytype release 2019.02.13 fixed the bug that
necessitated this workaround.
2019-02-14 12:29:19 -08:00
Rebecca Chen 3d8a8ec45d Fix py3 types of inspect.FullArgSpec.var(args|kw) (#2556) 2018-10-25 10:45:59 -07:00
Rebecca Chen ea0a0fd17e Fix _StrType in difflib in Python 2. (#2514)
difflib functions accept unicode as well.
2018-10-12 14:39:24 +02:00
Rebecca Chen 9fda6b20ec Make the signature of optparse.OptionParser.parse_args more precise. (#2464) 2018-09-25 21:15:10 -07:00
Rebecca Chen cfa52c7c38 Add a stub for google.protobuf.json_format. (#2479) 2018-09-25 21:03:27 -07:00
Rebecca Chen eb09e2898b Update pytype_test to be easier to run manually. (#2469)
* Moves the pytype installation to requirements-tests-py3.txt, now
  that pytype can run under Python 3.5+.
* Changes tests/pytype_test.py to not require a --python{version}-exe
  argument when it can automatically find the Python interpreter, and
  cleans up a few typos and out-of-date things.
* Updates the appropriate documentation.
* Updates .travis.yml.
2018-09-21 09:38:33 -07:00
Rebecca Chen b7c262523b Fix the Python 2 signature of tempfile._TemporaryFileWrapper.write. (#2465) 2018-09-18 13:54:56 +02:00
Rebecca Chen 7dbc8748dc Add __iter__ method to codecs.StreamReader. (#2463) 2018-09-18 13:46:16 +02:00
Rebecca Chen 9e72a7fd0c Fix the return type of decimal.Decimal.__new__. (#2458) 2018-09-15 18:12:52 +02:00
Rebecca Chen 77e4d5d5a8 Add six.moves.urllib_request and six.moves.urllib_response. (#2455) 2018-09-13 22:01:56 +02:00
Rebecca Chen a08c6eae23 Add two more third_party libraries to pytype_test. (#2437) 2018-09-07 23:42:24 -07:00
Rebecca Chen ff821f9751 Update pytype_test and pytype_blacklist (#2225)
* Add parts of third_party/ to pytype_test.

Pytype uses six and mypy_extensions, so these pyi files should be
tested with pytype.

* Remove newly loadable pyi files from pytype_blacklist.
2018-06-15 07:53:17 -07:00