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 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

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.
e72a32b6b97ed0a817756f04c96b75c694fc76f7 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/siteconfig/management/commands/list-siteconfig.py
djblets/siteconfig/management/commands/set-siteconfig.py
djblets/template/apps.py
djblets/template/caches.py
djblets/template/context.py
djblets/template/loaders/conditional_cached.py
djblets/template/loaders/namespaced_app_dirs.py
djblets/template/tests/test_caches.py
djblets/template/tests/templatetags/template_tests.py
djblets/testing/decorators.py
djblets/testing/testcases.py
djblets/testing/testrunners.py
djblets/testing/urls.py
djblets/urls/context_processors.py
djblets/urls/patterns.py
djblets/urls/resolvers.py
djblets/urls/root.py
djblets/urls/staticfiles.py
djblets/urls/tests.py
djblets/util/apps.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...