[core] Enable ruff RSE (flake8-raise) lint family (#16649)

This commit is contained in:
J. Nick Koston
2026-05-25 20:06:34 -05:00
committed by GitHub
parent f1839489dd
commit bbc24ab546
6 changed files with 6 additions and 5 deletions
@@ -81,7 +81,7 @@ def _process_single_config(config: dict[str, Any]) -> None:
elif conf[CONF_TYPE] == TYPE_LOCAL:
components_dir = Path(CORE.relative_config_path(conf[CONF_PATH]))
else:
raise NotImplementedError()
raise NotImplementedError
if config[CONF_COMPONENTS] == "all":
num_components = len(list(components_dir.glob("*/__init__.py")))