summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-07-22 13:48:45 -0700
committerGitHub <noreply@github.com>2020-07-22 13:48:45 -0700
commit02b71e013adda29cd67172a3782fda8fa5da0bba (patch)
tree4a0230aa6e19e9392908e1b23e83f5e9a4d93128 /tools
parent05a10f7905bfb77f3d5dff2525c9d10375801329 (diff)
parent9e3fa863f1d0dcf8eae54554ffc7016eaa6de157 (diff)
Merge pull request #3107 from dherrada/type_hints
Adding type hints
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