We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eddfd7f commit 0c500daCopy full SHA for 0c500da
src/fosslight_source/_scan_item.py
@@ -97,7 +97,7 @@ def get_print_array(self) -> list:
97
return print_rows
98
99
def __eq__(self, other: object) -> bool:
100
- if type(other) == str:
+ if isinstance(other, str):
101
return self.source_name_or_path == other
102
else:
103
return self.source_name_or_path == other.source_name_or_path
src/fosslight_source/cli.py
@@ -43,7 +43,6 @@
43
44
45
def main() -> None:
46
- global logger
47
_result_log = {}
48
49
path_to_scan = os.getcwd()
0 commit comments