detect-secrets icon indicating copy to clipboard operation
detect-secrets copied to clipboard

Duplicated line are showing in the report

Open AkatsukiPain opened this issue 3 years ago • 3 comments

I have created my own plugins. Then many duplicated lines are detected by the plugins ( My own + secret keyword). Is there any way to remove that one? I just want to shorten the report

AkatsukiPain avatar Jun 21 '22 03:06 AkatsukiPain

@AkatsukiPain Is your intention to disable a plugin? You can use the following argument --disable-plugin plugin to disable a specific plugin.

jpdakran avatar Jun 29 '22 15:06 jpdakran

I have used the --disable-plugin plugin for the unnecessaries plugin. But my plugin and built-in plugin detect the same secret, showing two lines in the report with the same result. I'm just wondering how to remove duplication like that. Some secrets are detected duplicating by two plugins, and others are oke.

AkatsukiPain avatar Jul 19 '22 07:07 AkatsukiPain

Hi @AkatsukiPain, a solution to this issue requires a very big (and breaking) change, thus it's unlikely we'll implement a fix any time soon. We'll keep you posted on when we'll get to it.

lorenzodb1 avatar May 16 '24 17:05 lorenzodb1