Get rid of __future__ imports

Review Request #11944 — Created Jan. 20, 2022 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

Now that Djblets is Python 3.7+, we don't need to import stuff from
__future__ in every file. This change does that, and removes some old
leftover per-file copyright headers while I'm in there.

Ran unit tests.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Get rid of __future__ imports
Now that Djblets is Python 3.7+, we don't need to import stuff from `__future__` in every file. This change does that, and removes some old leftover per-file copyright headers while I'm in there. Testing Done: Ran unit tests.
7a1c28c14bf3000e5ac3b934588f4ae2239462df David Trowbridge
This diff has been split across 18 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >
djblets/avatars/tests.py
djblets/avatars/services/__init__.py
djblets/avatars/services/base.py
djblets/avatars/services/fallback.py
djblets/avatars/services/file_upload.py
djblets/avatars/services/gravatar.py
djblets/avatars/services/url.py
djblets/cache/apps.py
djblets/cache/backend.py
djblets/cache/backend_compat.py
djblets/cache/context_processors.py
djblets/cache/forwarding_backend.py
djblets/cache/serials.py
djblets/cache/synchronizer.py
djblets/cache/tests/test_backend.py
djblets/cache/tests/test_synchronizer.py
djblets/conditions/__init__.py
djblets/conditions/choices.py
djblets/conditions/conditions.py
djblets/conditions/errors.py
This diff has been split across 18 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >
Loading...