chromite: Ensure chromite lints (mostly) clean after pylint uprev
- remove suppressions for obsolete lint warnings
- rename suppressions that have been split (arguments-differ)
- suppress most of the "consider using.." warnings
- delete unused variables on except: lines
- fix some obvious things
BUG=b:236161656
TEST=./run_tests
Change-Id: I3a4af178b29687be23215452aa19c10aa83cb52e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4505565
Tested-by: Trent Apted <tapted@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Trent Apted <tapted@chromium.org>
diff --git a/scripts/cros_gdb.py b/scripts/cros_gdb.py
index 9c1f098..753d823 100644
--- a/scripts/cros_gdb.py
+++ b/scripts/cros_gdb.py
@@ -807,4 +807,6 @@
if options.debug:
raise
else:
+ # TODO(b/236161656): Fix.
+ # pylint: disable-next=raising-bad-type
raise cros_build_lib.Die(str(e))