Merge branch 'master' into Aayush-Goel-04/Issue#1534

This commit is contained in:
Aayush Goel
2023-07-07 12:05:57 +05:30
committed by GitHub
14 changed files with 68 additions and 47 deletions

View File

@@ -874,7 +874,7 @@ def lint(ctx: Context):
ret = {}
source_rules = [rule for rule in ctx.rules.rules.values() if not rule.is_subscope_rule()]
with tqdm.contrib.logging.tqdm_logging_redirect(source_rules, unit="rule") as pbar:
with tqdm.contrib.logging.tqdm_logging_redirect(source_rules, unit="rule", leave=False) as pbar:
with capa.helpers.redirecting_print_to_tqdm(False):
for rule in pbar:
name = rule.name