File tree Expand file tree Collapse file tree 5 files changed +17
-124
lines changed Expand file tree Collapse file tree 5 files changed +17
-124
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ coverage-reports/
99tools /
1010venv
1111** /* .mpy
12+ typeshed /
1213firmware.uf2
1314
1415# libs
Original file line number Diff line number Diff line change 1- PYSQUARED_VERSION ?= v2.0.0-alpha-25w29
1+ PYSQUARED_VERSION ?= v2.0.0-alpha-25w34
22PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION )
33BOARD_MOUNT_POINT ?= ""
44BOARD_TTY_PORT ?= ""
55VERSION ?= $(shell git tag --points-at HEAD --sort=-creatordate < /dev/null | head -n 1)
66
77.PHONY : all
8- all : .venv download-libraries pre-commit-install help
8+ all : .venv typeshed download-libraries pre-commit-install help
99
1010.PHONY : help
1111help : # # Display this help.
@@ -19,6 +19,11 @@ help: ## Display this help.
1919 @$(UV ) venv
2020 @$(UV ) sync
2121
22+ typeshed : # # Install CircuitPython typeshed stubs
23+ @echo " Installing CircuitPython typeshed stubs..."
24+ @$(MAKE ) uv
25+ @$(UV ) pip install circuitpython-typeshed==0.1.0 --target typeshed
26+
2227.PHONY : download-libraries
2328download-libraries : download-libraries-flight-software download-libraries-ground-station
2429
@@ -44,7 +49,8 @@ sync-time: uv ## Syncs the time from your computer to the PROVES Kit board
4449fmt : pre-commit-install # # Lint and format files
4550 $(UVX ) pre-commit run --all-files
4651
47- typecheck : .venv download-libraries # # Run type check
52+ .PHONY : typecheck
53+ typecheck : .venv download-libraries typeshed # # Run type check
4854 @$(UV ) run -m pyright .
4955
5056.PHONY : install
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dev = [
1111 " adafruit-circuitpython-typing==1.12.1" ,
1212 " circuitpython-stubs==9.2.8" ,
1313 " pre-commit==4.2.0" ,
14- " pyright[nodejs]==1.1.402 " ,
14+ " pyright[nodejs]==1.1.404 " ,
1515]
1616
1717[tool .ruff .format ]
@@ -37,6 +37,8 @@ exclude = [
3737 " artifacts" ,
3838 " src/*/lib" ,
3939 " typings" ,
40+ " typeshed" ,
4041]
4142stubPath = " ./typings"
43+ typeshedPath = " ./typeshed"
4244reportMissingModuleSource = false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments