Charm discovery handles four layouts:
charmcraft.yaml or metadata.yaml).bundle.yaml directory; charms are in charms/ subdirectories.tox.ini or Makefile) and a Python manifest at the root, and where none of the charms have both. The root is run in place of the charms. If some of the charms do have both, they’re run on their own, and the others are skipped.Filters are applied as a chain. Each filter either returns None (passes) or a skip reason string. The chain short-circuits on the first reason:
not_legacy: skip reactive/hooks-based charms (hooks/, or src/reactive/ with src/layer.yaml).has_python: skip charms with no Python source.regex_filter: skip charms not matching --repo.ignore_filter: skip charms listed in hyrum.toml [ignore].has_runnable_target: skip charms with neither tox.ini nor Makefile.--framework is set).