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

Add mypy checks #3229

Merged
merged 2 commits into from
Nov 7, 2017
Merged

Add mypy checks #3229

merged 2 commits into from
Nov 7, 2017

Conversation

sbrunner
Copy link
Member

@sbrunner sbrunner commented Nov 3, 2017

Add first type

@@ -166,6 +166,17 @@ flake8:
--copyright-min-file-size=1 \
--copyright-regexp="Copyright \(c\) ([0-9][0-9][0-9][0-9]-)?$(shell date +%Y), Camptocamp SA"

.PHONY: mypy
mypy:
MYPYPATH=/usr/local/lib/python3.6/site-packages:/c2cwsgiutils \
Copy link
Member

@gberaudo gberaudo Nov 7, 2017

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Why?

Copy link
Member Author

@sbrunner sbrunner Nov 7, 2017

Choose a reason for hiding this comment

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

It's use on Docker who are based on Python 3.6 ...

Copy link
Member

Choose a reason for hiding this comment

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

Ah OK, I missed you are only calling the mypy target inside docker.

@sbrunner sbrunner merged commit 0f02591 into master Nov 7, 2017
@gberaudo gberaudo deleted the mypy branch November 8, 2017 06:45
@sbrunner sbrunner added this to the 2.3 milestone Nov 14, 2017
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

Successfully merging this pull request may close these issues.

3 participants