From ec76dac2fc36939dc046894e3a02e918d99fdfbe Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Tue, 20 Oct 2020 16:21:56 -0400 Subject: [PATCH] Suppressed pylint warning. --- src/ssh_audit/software.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssh_audit/software.py b/src/ssh_audit/software.py index 37c7d36..3b1462e 100644 --- a/src/ssh_audit/software.py +++ b/src/ssh_audit/software.py @@ -60,7 +60,7 @@ class Software: return self.__os def compare_version(self, other: Union[None, 'Software', str]) -> int: - # pylint: disable=too-many-branches + # pylint: disable=too-many-branches,too-many-return-statements if other is None: return 1 if isinstance(other, Software):