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
2018-06-15 21:34:14 -07:00
committed by Guido van Rossum
parent 499f852e37
commit c06a718c5b
2 changed files with 3 additions and 6 deletions
+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"