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/tests/test_pycodestyle.py
bot/reviewbot/tools/tests/test_pydocstyle.py
bot/reviewbot/tools/tests/test_pyflakes.py
bot/reviewbot/tools/tests/test_rbsecretscanner.py
bot/reviewbot/tools/tests/test_registry.py
bot/reviewbot/tools/tests/test_rubocop.py
bot/reviewbot/tools/tests/test_rustfmt.py
bot/reviewbot/tools/tests/test_shellcheck.py
bot/reviewbot/tools/utils/codeclimate.py
bot/reviewbot/utils/api.py
bot/reviewbot/utils/filesystem.py
bot/reviewbot/utils/log.py
bot/reviewbot/utils/process.py
bot/reviewbot/utils/text.py
bot/reviewbot/utils/tests/test_filesystem.py
bot/reviewbot/utils/tests/test_process.py
bot/reviewbot/utils/tests/test_text.py
This diff has been split across 4 pages: < 1 2 3 4
Loading...