summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-07-22 14:00:28 -0700
committerGitHub <noreply@github.com>2020-07-22 14:00:28 -0700
commit049921fec8be3ccd9c3a29e14f21e6ffa76b09ea (patch)
tree4350f9a3e8c0c9a04882c682db8951f0dc266f75 /tools
parent1ec358094671716cadf9b17ca51deb346070bcae (diff)
parent02b71e013adda29cd67172a3782fda8fa5da0bba (diff)
Merge branch 'main' into memmonitor
Diffstat (limited to 'tools')
-rw-r--r--tools/extract_pyi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/extract_pyi.py b/tools/extract_pyi.py
index e5da61035..ab223877e 100644
--- a/tools/extract_pyi.py
+++ b/tools/extract_pyi.py
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: MIT
+# Run with 'python tools/extract_pyi.py shared-bindings/ path/to/stub/dir
+# You can also test a specific library in shared-bindings by putting the path
+# to that directory instead
+
import ast
import os
import re