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 29eeef9 commit e188bc9Copy full SHA for e188bc9
tools/test-stubs.sh
@@ -5,7 +5,8 @@ python3 -m venv test-stubs
5
pip install mypy isort black adafruit-circuitpython-typing wheel build
6
rm -rf circuitpython-stubs .mypy_cache
7
make stubs
8
-pip install --force-reinstall circuitpython-stubs/dist/circuitpython-stubs-*.tar.gz
+# Allow either dash or underscore as separator. setuptools v69.3.0 changed from "-" to "_".
9
+pip install --force-reinstall circuitpython-stubs/dist/circuitpython[-_]stubs-*.tar.gz
10
export MYPYPATH=circuitpython-stubs/
11
echo "The following test should pass:"
12
mypy -c 'import busio; b: busio.I2C; b.writeto(0x30, b"")'
0 commit comments