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/webapi/resources/__init__.py
djblets/webapi/resources/base.py
djblets/webapi/resources/group.py
djblets/webapi/resources/registry.py
djblets/webapi/resources/root.py
djblets/webapi/resources/user.py
djblets/webapi/resources/mixins/api_tokens.py
djblets/webapi/resources/mixins/forms.py
djblets/webapi/resources/mixins/oauth2_tokens.py
djblets/webapi/resources/mixins/queries.py
djblets/webapi/testing/decorators.py
djblets/webapi/testing/testcases.py
djblets/webapi/tests/test_api_auth_backend.py
djblets/webapi/tests/test_api_policy.py
djblets/webapi/tests/test_api_ratelimit.py
djblets/webapi/tests/test_api_token.py
djblets/webapi/tests/test_apiqueryutilsmixin.py
djblets/webapi/tests/test_basic_auth_backend.py
djblets/webapi/tests/test_decorators.py
djblets/webapi/tests/test_encoders.py
djblets/webapi/tests/test_errors.py
djblets/webapi/tests/test_extension_resource_mixin.py
djblets/webapi/tests/test_fields.py
djblets/webapi/tests/test_oauth2_auth.py
djblets/webapi/tests/test_oauth2_scopes.py
djblets/webapi/tests/test_registry.py
djblets/webapi/tests/test_responses.py
djblets/webapi/tests/test_signals.py
djblets/webapi/tests/test_webapiresource.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...