From 1d0a24ff1dd6f4a007c95291fe83ecd9ee36ca30 Mon Sep 17 00:00:00 2001 From: Yuguang Wang Date: Wed, 27 Mar 2024 17:20:17 +0800 Subject: [PATCH] fixup! plugins/semgrep: fix pylint warnings --- py/plugins/semgrep.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/plugins/semgrep.py b/py/plugins/semgrep.py index eef0287..6dbd370 100644 --- a/py/plugins/semgrep.py +++ b/py/plugins/semgrep.py @@ -20,7 +20,7 @@ """ import os -from csmock.common.util import sanitize_opts_arg +from csmock.common.util import sanitize_opts_arg # pylint: disable=import-error # disable metrics to be sent to semgrep cloud @@ -59,6 +59,7 @@ class Plugin: """ def __init__(self): self.enabled = False + self.semgrep_scan_opts = None def get_props(self): # pylint: disable=missing-function-docstring return PluginProps()