This print statement combines an "F-string" (f'') and str.format, resulting in the same uninformative log output for every call:
[scan] INFO Skipping "0" due to `1`.
The relevant code snippet is as follows:
debug_msg = f'Skipping "{0}" due to `{1}`.'.format(
kwargs['secret'],
filter_fn.path,
)
Of course, the fix is to simply use one or the other:
debug_msg = 'Skipping "{0}" due to `{1}`.'.format(
kwargs['secret'],
filter_fn.path,
)
or:
debug_msg = f'Skipping "{kwargs["secret"]}" due to `{filter_fn.path}`.'
This print statement combines an "F-string" (
f'') andstr.format, resulting in the same uninformative log output for every call:The relevant code snippet is as follows:
Of course, the fix is to simply use one or the other:
or: