Skip to content

Commit

Permalink
Merge pull request #102 from adafruit/correct-naming
Browse files Browse the repository at this point in the history
Change terminology
  • Loading branch information
dhalbert authored Dec 5, 2023
2 parents 988ed98 + f9a8aa3 commit 9f02e3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions circuitpython_build_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# pyproject.toml `py_modules` values that are incorrect. These should all have PRs filed!
# and should be removed when the fixed version is incorporated in its respective bundle.

pyproject_py_modules_blacklist = set((
pyproject_py_modules_blocklist = set((
# adafruit bundle
"adafruit_colorsys",

Expand Down Expand Up @@ -194,10 +194,10 @@ def get_package_info(library_path, package_folder_prefix):
py_modules = get_nested(pyproject_toml, "tool", "setuptools", "py-modules", default=[])
packages = get_nested(pyproject_toml, "tool", "setuptools", "packages", default=[])

blacklisted = [name for name in py_modules if name in pyproject_py_modules_blacklist]
blocklisted = [name for name in py_modules if name in pyproject_py_modules_blocklist]

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

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

0 comments on commit 9f02e3a

Please sign in to comment.