Commits on Source 4

  • Qinusty's avatar
    _project.py: Add fatal-warnings configuration item · c699371b
    Qinusty authored
    This allows for users to configure fatal-warnings to be either a list of
    warnings or simply True to consider all warnings as errors.
    
    This commit deprecates the use of fail-on-overlap within project.conf,
    this will now use the fatal-warnings configuration item.
    
    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
    c699371b
  • Qinusty's avatar
    git.py: Add configurable warning for inconsistent-submodule · d0baa46c
    Qinusty authored
    This follows the implementation of configurable warnings.
    d0baa46c
  • Qinusty's avatar
    docs: Add documentation for Configurable Warnings · 547f784e
    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.
    547f784e
  • Qinusty's avatar
    tests: Add tests for configurable warnings · d0efaeeb
    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.
    d0efaeeb
Loading
Loading