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.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Modernize imports for the Review Bot worker.
This change swaps out all our old unicode_literals imports for annotations, removes some unused imports, and removes various Python 2 fallbacks. Testing Done: Ran unit tests.
84d8ce5eb666689fa984db099b14eda5035bfa86 David Trowbridge
This diff has been split across 4 pages: 1 2 3 4 >
bot/reviewbot/__init__.py
bot/reviewbot/celery.py
bot/reviewbot/config.py
bot/reviewbot/deprecation.py
bot/reviewbot/errors.py
bot/reviewbot/main.py
bot/reviewbot/repositories.py
bot/reviewbot/tasks.py
bot/reviewbot/processing/review.py
bot/reviewbot/processing/tests/test_file.py
bot/reviewbot/processing/tests/test_review.py
bot/reviewbot/testing/__init__.py
bot/reviewbot/testing/testcases.py
bot/reviewbot/testing/utils.py
bot/reviewbot/tests/test_celery.py
bot/reviewbot/tests/test_config.py
bot/reviewbot/tests/test_repositories.py
bot/reviewbot/tests/test_tasks.py
bot/reviewbot/tools/__init__.py
bot/reviewbot/tools/cargotool.py
This diff has been split across 4 pages: 1 2 3 4 >
Loading...