foundry_config

Module fix

Source
Expand description

Helpers to automatically fix configuration warnings.

Structsยง

  • InsertProfileError ๐Ÿ”’
    The error emitted when failing to insert into a profile.
  • TomlFile ๐Ÿ”’
    A convenience wrapper around a TOML document and the path it was read from

Functionsยง

  • Making sure any implicit profile [name] becomes [profile.name] for the given file and returns the implicit profiles and the result of editing them
  • Fix foundry.toml files. Making sure any implicit profile [name] becomes [profile.name]. Return any warnings