Skip to content

Commit f9a8aa3

Browse files
authored
Change remaining blacklist to blocklist
1 parent 0032a80 commit f9a8aa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

circuitpython_build_tools/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ def get_package_info(library_path, package_folder_prefix):
194194
py_modules = get_nested(pyproject_toml, "tool", "setuptools", "py-modules", default=[])
195195
packages = get_nested(pyproject_toml, "tool", "setuptools", "packages", default=[])
196196

197-
blocklisted = [name for name in py_modules if name in pyproject_py_modules_blacklist]
197+
blocklisted = [name for name in py_modules if name in pyproject_py_modules_blocklist]
198198

199199
if blocklisted:
200-
print(f"{lib_path}/settings.toml:1: {blocklisted[0]} blacklisted: not using metadata from pyproject.toml")
200+
print(f"{lib_path}/settings.toml:1: {blocklisted[0]} blocklisted: not using metadata from pyproject.toml")
201201
py_modules = packages = ()
202202

203203
example_files = [sub_path for sub_path in (lib_path / "examples").rglob("*")

0 commit comments

Comments
 (0)