Skip to content

Commit 9f02e3a

Browse files
authored
Merge pull request #102 from adafruit/correct-naming
Change terminology
2 parents 988ed98 + f9a8aa3 commit 9f02e3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

circuitpython_build_tools/build.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# pyproject.toml `py_modules` values that are incorrect. These should all have PRs filed!
4040
# and should be removed when the fixed version is incorporated in its respective bundle.
4141

42-
pyproject_py_modules_blacklist = set((
42+
pyproject_py_modules_blocklist = set((
4343
# adafruit bundle
4444
"adafruit_colorsys",
4545

@@ -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-
blacklisted = [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

199-
if blacklisted:
200-
print(f"{lib_path}/settings.toml:1: {blacklisted[0]} blacklisted: not using metadata from pyproject.toml")
199+
if blocklisted:
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)