We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf9c9d commit 32b0cffCopy full SHA for 32b0cff
setup.py
@@ -14,12 +14,12 @@
14
exit(1)
15
16
if platform.python_implementation() == "PyPy":
17
- print(
18
- "ERROR: Running mypy on PyPy is not supported yet."
19
- "To type-check a PyPy library please use an equivalent CPython version,"
20
- "see https://github.com/mypyc/librt/issues/16 for possible workarounds."
+ sys.stderr.write(
+ "ERROR: Running mypy on PyPy is not supported yet.\n"
+ "To type-check a PyPy library please use an equivalent CPython version,\n"
+ "see https://github.com/mypyc/librt/issues/16 for possible workarounds.\n"
21
)
22
- sys.exit(1)
+ exit(1)
23
24
# we'll import stuff from the source tree, let's ensure is on the sys path
25
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
0 commit comments