We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7207449 commit 4e7ef6cCopy full SHA for 4e7ef6c
1 file changed
tests/test_internals.py
@@ -169,7 +169,12 @@ def test_inventory_matches_api(
169
for item in inventory.values():
170
if item.domain == "py" and "(" not in item.name:
171
obj = loader.modules_collection[item.name]
172
- if obj.path not in public_api_paths and not any(path in public_api_paths for path in obj.aliases):
+ if (
173
+ obj.path not in public_api_paths
174
+ and not any(path in public_api_paths for path in obj.aliases)
175
+ # YORE: Bump 1: Remove line.
176
+ and not (obj.is_module and obj.package.name == "griffe")
177
+ ):
178
not_in_api.append(item.name)
179
msg = "Inventory objects not in public API (try running `make run mkdocs build`):\n{paths}"
180
assert not not_in_api, msg.format(paths="\n".join(sorted(not_in_api)))
0 commit comments