Skip to content
Snippets Groups Projects
Commit c2f273d8 authored by Qinusty's avatar Qinusty
Browse files

_project.py: Add fatal-warnings configuration item

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
parent 9f0c8fcf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment