Re: Custom QA Checks

Paul Wicks

Thanks for the example, very helpful!

-Paul Wicks

On Wed, Aug 17, 2022 at 6:53 AM Ross Burton <Ross.Burton@...> wrote:
On 7 Aug 2022, at 20:21, Paul Wicks via <> wrote:
> Is it possible to create additional QA checks such that they apply to all recipes automatically? Or even just to all recipes in a given layer?

Yes, and yes.

For example, I have

This defines some new sanity checks, and adds them to WARN_QA so that they’re enabled and classified as warnings (use ERROR_QA if you want them to be errors).

Simply inheriting the class in your local or distro configuration with INHERIT += is enough to enable them for all recipes.


Join to automatically receive all group messages.