Skip to content

Commits on Source 4

  • Qinusty's avatar
    _project.py: Add fatal-warnings configuration item · 9ab0f333
    Qinusty authored and Qinusty's avatar Qinusty committed
    This allows for users to configure fatal-warnings to be either a list of
    warnings or simply True to trigger all configurable warnings as errors.
    
    This commit deprecates the use of fail-on-overlap within project.conf,
    this will now use the fatal-warnings configuration item.
    
    plugin.py: get_warnings() is now available for plugins to override and
    return their configurable warnings.
    
    tests: This modifys the tests/frontend/overlaps.py tests to support the
    new fatal-warnings configuration. Backwards compatibility is also
    tested for `fail-on-overlap`
    
    _versions.py: BST_FORMAT_VERSION bumped to 12 for fatal-warnings
    
    Fixes: #526
    9ab0f333
  • Qinusty's avatar
    git.py: Add configurable warning for inconsistent-submodule · 61b969ad
    Qinusty authored and Qinusty's avatar Qinusty committed
    This follows the implementation of configurable warnings.
    61b969ad
  • Qinusty's avatar
    docs: Add documentation for Configurable Warnings · 48d3f81d
    Qinusty authored and Qinusty's avatar Qinusty committed
    This includes detailing the use of `fatal-warnings` within project.conf
    
    This also adds a deprecation notice to the fail on overlaps section.
    48d3f81d
  • Qinusty's avatar
    tests: Add tests for configurable warnings · f4335f5b
    Qinusty authored and Qinusty's avatar Qinusty committed
    This adds multiple tests for custom plugin warnings and core warnings,
    providing checks for both cases which should cause warnings and errors
    when configured as fatal.
    f4335f5b
Loading