Skip to content

Commit aca93d0

Browse files
committed
MODULES_NOT_IN_BINDINGS can skip listing things in ADDITIONAL_MODULES
1 parent 6a24992 commit aca93d0

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

docs/shared_bindings_matrix.py

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,7 @@
7979
"usb": "CIRCUITPY_USB_HOST",
8080
}
8181

82-
MODULES_NOT_IN_BINDINGS = [
83-
"_asyncio",
84-
"array",
85-
"binascii",
86-
"builtins",
87-
"collections",
88-
"errno",
89-
"json",
90-
"os.getenv",
91-
"re",
92-
"select",
93-
"sys",
94-
"ulab",
95-
]
82+
MODULES_NOT_IN_BINDINGS = [ "binascii", "errno", "json", "re", "ulab" ]
9683

9784
FROZEN_EXCLUDES = ["examples", "docs", "tests", "utils", "conf.py", "setup.py"]
9885
"""Files and dirs at the root of a frozen directory that should be ignored.
@@ -119,7 +106,7 @@ def get_bindings():
119106
bindings_modules = []
120107
for d in get_circuitpython_root_dir().glob("ports/*/bindings"):
121108
bindings_modules.extend(module.name for module in d.iterdir() if d.is_dir())
122-
return shared_bindings_modules + bindings_modules + MODULES_NOT_IN_BINDINGS
109+
return shared_bindings_modules + bindings_modules + MODULES_NOT_IN_BINDINGS + list(ADDITIONAL_MODULES.keys())
123110

124111

125112
def get_board_mapping():

0 commit comments

Comments
 (0)