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/__init__.py
djblets/dependencies.py
djblets/deprecation.py
djblets/settings.py
djblets/auth/apps.py
djblets/auth/forms.py
djblets/auth/ratelimit.py
djblets/auth/signals.py
djblets/auth/urls.py
djblets/auth/util.py
djblets/auth/views.py
djblets/auth/tests/test_ratelimit.py
djblets/auth/tests/test_registration_form.py
djblets/auth/tests/test_util.py
djblets/auth/tests/test_views.py
djblets/avatars/apps.py
djblets/avatars/errors.py
djblets/avatars/forms.py
djblets/avatars/registry.py
djblets/avatars/settings.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...