mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 18:41:40 +01:00
Suppressed pylint warning.
This commit is contained in:
parent
1acfb01e61
commit
ec76dac2fc
@ -60,7 +60,7 @@ class Software:
|
|||||||
return self.__os
|
return self.__os
|
||||||
|
|
||||||
def compare_version(self, other: Union[None, 'Software', str]) -> int:
|
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:
|
if other is None:
|
||||||
return 1
|
return 1
|
||||||
if isinstance(other, Software):
|
if isinstance(other, Software):
|
||||||
|
Loading…
Reference in New Issue
Block a user