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 7f8b376 commit 0418205Copy full SHA for 0418205
referencing_loaders/__init__.py
@@ -62,7 +62,7 @@ def from_traversable(root: Traversable) -> Iterable[tuple[URI, Resource[Any]]]:
62
return _from_walked(
63
each
64
for each in _walk_traversable(root)
65
- if not each.name.endswith(".py")
+ if not each.name.endswith((".py", ".pyc", ".pyo"))
66
)
67
68
0 commit comments