Modernize imports for the Review Bot worker.

Review Request #13706 — Created April 5, 2024 and submitted — Latest diff uploaded

Information

ReviewBot
release-4.x

Reviewers

This change swaps out all our old unicode_literals imports for
annotations, removes some unused imports, and removes various Python 2
fallbacks.

Ran unit tests.

bot/reviewbot/tools/checkstyle.py
bot/reviewbot/tools/clang.py
bot/reviewbot/tools/cppcheck.py
bot/reviewbot/tools/cpplint.py
bot/reviewbot/tools/doc8.py
bot/reviewbot/tools/fbinfer.py
bot/reviewbot/tools/flake8.py
bot/reviewbot/tools/gofmt.py
bot/reviewbot/tools/gotool.py
bot/reviewbot/tools/jshint.py
bot/reviewbot/tools/pmd.py
bot/reviewbot/tools/pycodestyle.py
bot/reviewbot/tools/pydocstyle.py
bot/reviewbot/tools/pyflakes.py
bot/reviewbot/tools/rbsecretscanner.py
bot/reviewbot/tools/rubocop.py
bot/reviewbot/tools/rustfmt.py
bot/reviewbot/tools/shellcheck.py
bot/reviewbot/tools/base/__init__.py
bot/reviewbot/tools/base/mixins.py
This diff has been split across 4 pages: < 1 2 3 4 >
Loading...