8000 Exit status 2 if mypy bails early · Issue #3535 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Exit status 2 if mypy bails early #3535

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

Closed
gvanrossum opened this issue Jun 13, 2017 · 1 comment
Closed

Exit status 2 if mypy bails early #3535

gvanrossum opened this issue Jun 13, 2017 · 1 comment

Comments

@gvanrossum
Copy link
Member

Certain errors are considered "blockers" which means that the remaining passes are skipped, e.g. "can't read file" or "Type signature has too many arguments" (that's a weird one). We should use a different exit status when mypy exits due to such a blocker, probably exit 2. That way scripts that expect certain type errors can avoid getting too excited about such errors not occurring. :-)

@ddfisher
Copy link
Collaborator

This is a duplicate of #2754.

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
0