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:
Roland Dobai
2022-08-12 23:27:14 +08:00
15 changed files with 39 additions and 39 deletions

View File

@@ -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