mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-30 01:24:01 +08:00
Add Optional[] for all remaining cases of x: <type> = None (#1424)
* Final round of adding Optional[] to type of arguments with default = None * Update Travis to use --no-implicit-optionals and clarify CONTRIBUTING.md
This commit is contained in:
1 parent
81f77b17ec
commit
350563223f
18 files changed
+152
-133
No files matched your search
+1
-1
@@ -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"
|
||||
env: TEST_CMD="./tests/mypy_test.py --no-implicit-optional"
|
||||
- python: "2.7"
|
||||
env: TEST_CMD="./tests/pytype_test.py --num-parallel=4"
|
||||
|
||||
|
||||
Reference in new issue
Block a user