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

Support mypy #198

Closed
tuukkamustonen opened this issue Nov 2, 2016 · 1 comment
Closed

Support mypy #198

tuukkamustonen opened this issue Nov 2, 2016 · 1 comment

Comments

@tuukkamustonen
Copy link

mypy static checks source code for type (annotation) violations. The ouput is pretty similar to other tools, e.g.:

fs/csm/common/model.py: note: In member "__init__" of class "StrProxy":
fs/csm/common/model.py:24: error: The return type of "__init__" must be None
fs/csm/common/logic/bundle.py: note: In member "__init__" of class "Bundle":
fs/csm/common/logic/bundle.py:8: error: The return type of "__init__" must be None
fs/csm/__init__.py: note: At top level:
fs/csm/__init__.py:2: error: Cannot determine type of '__path__'
fs/__init__.py:2: error: Cannot determine type of '__path__'

Would be nice to control mypy through prospector as well (to get pylint-compatible output etc.).

@carlio
Copy link
Member

carlio commented Jul 23, 2018

That PR just got added to latest release 1.0 so will close this unless there are any issues.

@carlio carlio closed this as completed Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants