Modernize djblets/auth.

Review Request #13968 — Created June 10, 2024 and submitted — Latest diff uploaded

Information

Djblets
release-5.x

Reviewers

This change makes several modernizations for the auth app:

  • Add `from future import annotations' to everything.
  • Add type hints.
  • Fix up a few small type issues that were exposed by type hints.
  • Add in missing docstrings.

Ran unit tests.

Changes between revision 2 and 3

orig
1
2
3
4
5

Commits

Summary ID Author
Modernize djblets/auth.
This change makes several modernizations for the auth app: - Add `from __future__ import annotations' to everything. - Add type hints. - Fix up a few small type issues that were exposed by type hints. - Add in missing docstrings. Testing Done: Ran unit tests.
777c7e4e4566c1fea71e922922e28c4af4873253 David Trowbridge
Modernize djblets/auth.
This change makes several modernizations for the auth app: - Add `from __future__ import annotations' to everything. - Add type hints. - Fix up a few small type issues that were exposed by type hints. - Add in missing docstrings. Testing Done: Ran unit tests.
b9ea0aa76462b625872027672df0d8a5acf6aec8 David Trowbridge
djblets/auth/ratelimit.py
Loading...