priv-kweihmann / oelint-adv

Advanced oelint
BSD 2-Clause "Simplified" License
53 stars 27 forks source link

Add switch to hide messages of any given severity #581

Closed ThorArise closed 1 month ago

ThorArise commented 1 month ago

As of now only switches to hide info and warning severity messages are present. Both locally and in CI builds it can be useful to filter findings based on the severity of all levels. To avoid adding two more switches, the two present switches have been removed in favor of a generic "hide" switch to disable specified severity level messages.

Pull request checklist

Bugfix

New feature

priv-kweihmann commented 1 month ago

@ThorArise I like the idea of the PR. But please enable a seamless transition for everyone by slowly phasing out the old parameters (nowarn and noinfo)

ThorArise commented 1 month ago
priv-kweihmann commented 1 month ago

@ThorArise

README.md:72: speicified ==> specified
oelint_adv/__main__.py:50: speicified ==> specified

please fix those two typos here

ThorArise commented 1 month ago

typos are fixed