From e48351339c120f7e339ef5cc9e79d3314140aab0 Mon Sep 17 00:00:00 2001 From: sidarth16 Date: Thu, 9 Mar 2023 12:01:49 +0530 Subject: [PATCH] black --- slither/slither.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slither/slither.py b/slither/slither.py index 5453c186d..eebec65aa 100644 --- a/slither/slither.py +++ b/slither/slither.py @@ -196,17 +196,17 @@ class Slither(SlitherCore): # pylint: disable=too-many-instance-attributes instance = printer_class(self, logger_printer) self._printers.append(instance) - + def deregister_printer(self, printer_class: Type[AbstractPrinter]) -> None: """ :param printer_class: Class inheriting from `AbstractPrinter`. """ - + for obj in self._printers: - if type(obj) == printer_class : # pylint: disable=unidiomatic-typecheck + if type(obj) == printer_class: # pylint: disable=unidiomatic-typecheck self._printers.remove(obj) return - + def run_detectors(self) -> List[Dict]: """ :return: List of registered detectors results.