-
-
Notifications
You must be signed in to change notification settings - Fork 32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alanhdu!
I just enabled Travis-CI for this repository, so if you push another commit it should trigger a build.
setup.py
Outdated
@@ -13,6 +13,6 @@ | |||
# PEP 561 requires these | |||
install_requires=['numpy~=1.13.0'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we update this to 1.14.0?
Can you also add a Travis-CI link to the README?
|
@@ -1,7 +1,7 @@ | |||
from setuptools import setup, find_packages | |||
|
|||
setup( | |||
name='numpy_stubs', | |||
name='numpy-stubs', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that PEP 561 changed it's guidelines here. I suppose we should also rename this repository?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name (the distribution name) doesn't impact PEP 561 compliance. The package name is the real decider; when this repo starts using my PEP 561 implementation in mypy, it will need to rename the numpy
package to numpy-stubs
, and make according changes. Happy to do those changes when it is time.
And we're green! Thanks helping get thing set up here... I'll go ahead and merge shortly. |
* Replace tab in setup.py with spaces * Add Travis * Add flake8 config to pass tests * Use `-` instead of `_` See python/peps#568 * Add Travis badge to README * Use numpy 1.14.0
* Add some typehints * Add ctypes typehints * Add stubs for dtype * Setup Travis and correct setup.py (#8) * Replace tab in setup.py with spaces * Add Travis * Add flake8 config to pass tests * Use `-` instead of `_` See python/peps#568 * Add Travis badge to README * Use numpy 1.14.0 * Fix some type annotations * Make attributes read-only properties * Add metadata property * Move flags into flagobj * Add _Shape type alias * Alphabetize properties
This doesn't really take an opinion on #3, but it at least sets up the basic sanity checks that this repo already has.