Skip to content

Clean up the pytype blacklist. - #1851

Merged
matthiaskramm merged 3 commits into
python:masterfrom
martindemello:clean-pytype-blacklist
Feb 6, 2018
Merged

matthiaskramm merged 3 commits into
python:masterfrom
martindemello:clean-pytype-blacklist

Conversation

@martindemello

Copy link
Copy Markdown
Contributor

pushed a bunch of fixes to pytype

Comment thread tests/pytype_blacklist.txt Outdated
stdlib/2/typing.pyi
stdlib/3/builtins.pyi
stdlib/3/typing.pyi
stdlib/3/collections/__init__.pyi # parse only.pyi

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is "parse only.pyi" a typo?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, yes, fixed now.

@martindemello

Copy link
Copy Markdown
Contributor Author

tests pass if i do pip install -e git+https://github.com/google/pytype.git@master#egg=pytype (as in requirements-tests-py2.txt) but not if i do pip install -U git+git://github.com/google/pytype (as in .travls.yml). trying to figure out the difference now.

@matthiaskramm
matthiaskramm merged commit 60dc2e2 into python:master Feb 6, 2018
@martindemello
martindemello deleted the clean-pytype-blacklist branch February 8, 2018 06:18
rhysparry added a commit to rhysparry/typeshed that referenced this pull request Feb 8, 2018
* python/master: (269 commits)
  allow Optional[float] for asyncio.wait() timeout arg (python#1860)
  Clean up the pytype blacklist. (python#1851)
  filter function: make the callable of the first overload non-optional so that mypy is able to select the second overload for the  case. (python#1855)
  Accept Text in distutils *Version classes (python#1854)
  Add attrs library (python#1838)
  Add type stub for the lzma module (python#1844)
  Add ImportError attributes name, path for Python 3.3+ (python#1849)
  Add 'message' to click.decorators.version_option (python#1845)
  PEP 553 and PEP 564 (python#1846)
  Adding py36 additions to datetime module (python#1848)
  Remove incomplete thrift stubs that cause false positives. (python#1827)
  adding curses.ascii, curses.panel and curses.textpad modules (python#1792)
  Fix requests session hooks type (python#1794)
  Add StringIO.name and BytesIO.name (python#1802)
  Fix werkzeug environ type (python#1831)
  Change the return type of unittest.TestCase.fail() to NoReturn (python#1843)
  _curses.tparm works on bytes, not str (python#1828)
  Refine types for distutils.version (python#1835)
  Add stub for stat.filemode (python#1837)
  modify pytype_test to run from within pytype too, and support python3 (python#1817)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants