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 e906873 commit c8964dfCopy full SHA for c8964df
tools/test-stubs.sh
@@ -7,7 +7,9 @@ rm -rf circuitpython-stubs .mypy_cache
7
make stubs
8
pip install --force-reinstall circuitpython-stubs/dist/circuitpython-stubs-*.tar.gz
9
export MYPYPATH=circuitpython-stubs/
10
+echo "The following test should pass:"
11
mypy -c 'import busio; b: busio.I2C; b.writeto(0x30, b"")'
12
+echo "The next two tests are expected to show type errors:"
13
! mypy -c 'import busio; b: busio.I2C; b.readfrom_into(0x30, b"")'
14
! mypy -c 'import busio; b: busio.I2C; b.write(0x30, b"")'
-echo "(The above two tests are expected to show type errors)"
15
+echo "Typing tests complete"
0 commit comments