MCPcopy Create free account
hub / github.com/FastLED/FastLED / _load_toml

Function _load_toml

ci/wasm_flags.py:33–38  ·  view source on GitHub ↗

Load and return the parsed build_flags.toml.

()

Source from the content-addressed store, hash-verified

31
32
33def _load_toml() -> dict[str, Any]:
34 """Load and return the parsed build_flags.toml."""
35 if not BUILD_FLAGS_TOML.exists():
36 raise FileNotFoundError(f"Build flags TOML not found: {BUILD_FLAGS_TOML}")
37 with open(BUILD_FLAGS_TOML, "rb") as f:
38 return tomllib.load(f)
39
40
41def _dwarf_config(config: dict[str, Any]) -> dict[str, Any]:

Callers 2

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected