always run mypy with --no-implicit-optional (#2242)

This was already the configuration in Travis and it's been working fine. It's
confusing that Travis was using a different configuration than the default
when you run tests/mypy_test.py yourself.
This commit is contained in:
Jelle Zijlstra authored and Guido van Rossum committed 2018-06-15 21:34:14 -07:00
1 parent 499f852e37
commit c06a718c5b
2 files changed
+3 -6

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ matrix:
- python: "3.6"
env: TEST_CMD="./tests/mypy_selftest.py"
- python: "3.5"
env: TEST_CMD="./tests/mypy_test.py --no-implicit-optional"
env: TEST_CMD="./tests/mypy_test.py"
- python: "3.4"
env: TEST_CMD="./tests/check_consistent.py"
- python: "2.7"