Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Type annotation pyi file and tests (II) #1965

Merged
merged 13 commits into from Aug 11, 2018
Merged

Conversation

scoder
Copy link
Contributor

@scoder scoder commented Oct 29, 2017

Initial PEP-484 type stub for pure Python mode, including mypy based type checking test.

Supersedes #1964.

smartsammler and others added 10 commits October 29, 2017 11:35
* `FusedType` for the PEP484's stub file
* run mypy against test modules tagged with `mypy`
* Add `mypy` as a tag to the `pure_py3.py` test module.
* Add type hint for MyStruct2 in pure_py3 test, because MyStruct2 is of type
  `cython.typedef` instead of `cython.StructType`, so one needs to explicitly
  provide its type.
@ethanhs
Copy link

ethanhs commented Jul 8, 2018

I'm currently planning on using Cython in a project of mine, and would be interested in seeing this. Let me know if I can do anything to help!

@scoder scoder merged commit 468b8c0 into cython:master Aug 11, 2018
@scoder scoder added this to the 0.29 milestone Aug 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants