zulip/tools/travis/mypy

14 lines
447 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
set -x
if ./tools/run-mypy; then
echo "The mypy static type checker for python detected no errors!"
else
echo
echo "The mypy static type checker for Python threw some errors,"
echo "which indicates a bug in your code or incorrect type annotations."
echo "Please see http://zulip.readthedocs.io/en/latest/mypy.html for details"
echo "on mypy, how Zulip is using mypy, and how to debug common issues."
fi