mirror of
https://github.com/vee1e/capa.git
synced 2026-09-01 18:57:15 +00:00
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:
parent
390e2a6315
commit
3a9f2136bb
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue