File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "recommendations" : [
3+ " charliermarsh.ruff" ,
4+ " ms-python.python" ,
5+ " ms-python.vscode-pylance" ,
6+ " ms-vscode.vscode-serial-monitor" ,
7+ " esbenp.prettier-vscode" ,
8+ " github.vscode-pull-request-github" ,
9+ " vivaxy.vscode-conventional-commits"
10+ ]
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "python.languageServer" : " Pylance" ,
3+ "python.defaultInterpreterPath" : " ${workspaceFolder}/.venv/bin/python" ,
4+ "python.analysis.typeCheckingMode" : " basic" ,
5+ "python.analysis.extraPaths" : [
6+ " lib/apds9960" ,
7+ " lib/bme280" ,
8+ " lib/bq27441" ,
9+ " lib/daplink_flash" ,
10+ " lib/gc9a01" ,
11+ " lib/hts221" ,
12+ " lib/im34dt05" ,
13+ " lib/ism330dl" ,
14+ " lib/lis2mdl" ,
15+ " lib/mcp23009e" ,
16+ " lib/ssd1327" ,
17+ " lib/steami_config" ,
18+ " lib/vl53l1x" ,
19+ " lib/wsen-hids" ,
20+ " lib/wsen-pads"
21+ ],
22+ "python.analysis.stubPath" : " typings" ,
23+ "python.analysis.diagnosticSeverityOverrides" : {
24+ "reportMissingModuleSource" : " none" ,
25+ "reportWildcardImportFromLibrary" : " none" ,
26+ "reportGeneralTypeIssues" : " warning"
27+ },
28+ "pylint.enabled" : false ,
29+ "mypy-type-checker.enabled" : false
30+ }
Original file line number Diff line number Diff line change 1+ {
2+ "pythonVersion" : " 3.7" ,
3+ "pythonPlatform" : " All" ,
4+ "typeCheckingMode" : " basic" ,
5+ "venvPath" : " ." ,
6+ "venv" : " .venv" ,
7+ "extraPaths" : [
8+ " lib/apds9960" ,
9+ " lib/bme280" ,
10+ " lib/bq27441" ,
11+ " lib/daplink_flash" ,
12+ " lib/gc9a01" ,
13+ " lib/hts221" ,
14+ " lib/im34dt05" ,
15+ " lib/ism330dl" ,
16+ " lib/lis2mdl" ,
17+ " lib/mcp23009e" ,
18+ " lib/ssd1327" ,
19+ " lib/steami_config" ,
20+ " lib/vl53l1x" ,
21+ " lib/wsen-hids" ,
22+ " lib/wsen-pads"
23+ ],
24+ "exclude" : [
25+ " .build" ,
26+ " node_modules" ,
27+ " **/__pycache__" ,
28+ " **/.*" ,
29+ " .venv"
30+ ],
31+ "reportMissingModuleSource" : false ,
32+ "reportWildcardImportFromLibrary" : false ,
33+ "reportGeneralTypeIssues" : " warning"
34+ }
Original file line number Diff line number Diff line change 1+ # MicroPython time module stub — overrides CPython typeshed for Pylance.
2+ from typing import Tuple
3+
4+ def sleep (seconds : float , / ) -> None : ...
5+ def sleep_ms (ms : int , / ) -> None : ...
6+ def sleep_us (us : int , / ) -> None : ...
7+ def ticks_ms () -> int : ...
8+ def ticks_us () -> int : ...
9+ def ticks_cpu () -> int : ...
10+ def ticks_diff (ticks1 : int , ticks2 : int , / ) -> int : ...
11+ def ticks_add (ticks : int , delta : int , / ) -> int : ...
12+ def time () -> int : ...
13+ def time_ns () -> int : ...
14+ def localtime (secs : int | None = None , / ) -> Tuple : ...
15+ def gmtime (secs : int | None = None , / ) -> Tuple : ...
16+ def mktime (local_time : Tuple , / ) -> int : ...
You can’t perform that action at this time.
0 commit comments