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/views/tests/test_check_request_method_view_mixin.py
djblets/views/tests/test_etag_view_mixin.py
djblets/views/tests/test_pre_post_dispatch_view_mixin.py
djblets/webapi/apps.py
djblets/webapi/decorators.py
djblets/webapi/encoders.py
djblets/webapi/errors.py
djblets/webapi/fields.py
djblets/webapi/managers.py
djblets/webapi/models.py
djblets/webapi/oauth2_scopes.py
djblets/webapi/responses.py
djblets/webapi/signals.py
djblets/webapi/auth/__init__.py
djblets/webapi/auth/views.py
djblets/webapi/auth/backends/__init__.py
djblets/webapi/auth/backends/api_tokens.py
djblets/webapi/auth/backends/base.py
djblets/webapi/auth/backends/basic.py
djblets/webapi/auth/backends/oauth2_tokens.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...