lint: log the failed example+rule (#2661)

* lint: log the failed example+rule

* Update scripts/lint.py

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

* fix lint

---------

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
This commit is contained in:
zdw@ 2025-05-12 17:11:22 -04:00 committed by GitHub
parent 390e2a6315
commit 3a9f2136bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -406,6 +406,7 @@ class DoesntMatchExample(Lint):
return True
if rule.name not in capabilities:
logger.info('rule "%s" does not match for sample %s', rule.name, example_id)
return True