File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11tox
22pytest
33pytest-cov
4- pytest-flake8
5- flake8 == 3.9.2
4+ pytest-flake8 >= 1.1.0
5+ flake8 >= 5.0.0
66dataclasses
77scanoss
8- importlib-metadata == 4.12 .0
8+ importlib-metadata >= 6.0 .0
99pytest-xdist
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def get_print_array(self) -> list:
9797 return print_rows
9898
9999 def __eq__ (self , other : object ) -> bool :
100- if type (other ) == str :
100+ if isinstance (other , str ) :
101101 return self .source_name_or_path == other
102102 else :
103103 return self .source_name_or_path == other .source_name_or_path
Original file line number Diff line number Diff line change 4343
4444
4545def main () -> None :
46- global logger
4746 _result_log = {}
4847
4948 path_to_scan = os .getcwd ()
You can’t perform that action at this time.
0 commit comments