errcheck

Common mistakes highlighting.

There is a performance impact, so this tool is only loaded when running waf -v

waflib.Tools.errcheck.replace(m)[source]

Replaces existing BuildContext methods to verify parameter names, for example bld(source=) has no ending s

waflib.Tools.errcheck.enhance_lib()[source]

Modifies existing classes and methods to enable error verification

waflib.Tools.errcheck.options(opt)[source]

Error verification can be enabled by default (not just on waf -v) by adding to the user script options