Fixes for mypy 0.600 (#324)
* Remove the mypy version constraint and set strict_optional to False. * Add type annotations for `ISA` variables. mypy 0.600 seems to require explicit annotations here. * Annotate the ISA variables in the defs.py files too.
This commit is contained in:
@@ -17,7 +17,8 @@ before_install:
|
||||
- wget https://storage.googleapis.com/wasm-llvm/builds/linux/26619/wasm-toolchain_0.1.26619_amd64.deb
|
||||
- sudo dpkg -i wasm-toolchain_0.1.26619_amd64.deb
|
||||
install:
|
||||
- pip3 install --user --upgrade mypy==0.521 flake8
|
||||
- pip3 install --user --upgrade mypy flake8
|
||||
- mypy --version
|
||||
- travis_wait ./check-rustfmt.sh --install
|
||||
script: ./test-all.sh
|
||||
cache:
|
||||
|
||||
Reference in New Issue
Block a user