mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Merge branch 'fix/flake8_v5_warnings' into 'master'
Tools: Fix flake8 version 5 warnings See merge request espressif/esp-idf!19488
This commit is contained in:
@@ -68,9 +68,9 @@ class ErrItem(object):
|
||||
base = '_BASE'
|
||||
|
||||
if self.file == other.file:
|
||||
if self.name.endswith(base) and not(other.name.endswith(base)):
|
||||
if self.name.endswith(base) and not other.name.endswith(base):
|
||||
return 1
|
||||
elif not(self.name.endswith(base)) and other.name.endswith(base):
|
||||
elif not self.name.endswith(base) and other.name.endswith(base):
|
||||
return -1
|
||||
|
||||
self_key = self.file + self.name
|
||||
|
Reference in New Issue
Block a user