Skip to content

Commits on Source 4

  • Qinusty's avatar
    _project.py: Add fatal-warnings configuration item · 2eeb5245
    Qinusty authored
    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
    2eeb5245
  • Qinusty's avatar
    git.py: Add configurable warning for inconsistent-submodule · d37e5c5b
    Qinusty authored
    This follows the implementation of configurable warnings.
    d37e5c5b
  • Qinusty's avatar
    docs: Add documentation for Configurable Warnings · fc7d6a0c
    Qinusty authored
    This includes detailing the use of `fatal-warnings` within project.conf
    
    This also adds a deprecation notice to the fail on overlaps section.
    fc7d6a0c
  • Qinusty's avatar
    tests: Add tests for configurable warnings · bec0190f
    Qinusty authored
    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.
    bec0190f
Loading