Modernized function typing in reviewboard/accounts/models.py

Review Request #14106 — Created Aug. 16, 2024 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Modernized function typing in reviewboard/accounts/models.py

No new tests were added, however the entire reviewboard test suite
was run and all previously passing tests still pass.

Diff Revision 3

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

orig
1
2
3
4
5

Commits

First Last Summary ID Author
Modernized function typing in reviewboard/accounts/models.py
Added typing to all the function parameters and return types in every function to bring the file in line with more modern typing standards. Certain type imports were put under a `TYPE_CHECKING`. No new tests were added, however the entire `reviewboard` test suite was run and all previously passing tests still pass.
d72bc111c58e20f2fa7a9a78eac84e1d0f19e14a Daniel
This diff has been split across 6 pages: 1 2 3 4 5 6 >
dev-requirements.txt
contrib/docker/Dockerfile
docs/manual/extending/coderef/index.rst
docs/releasenotes/7.0.2.rst
docs/releasenotes/index.rst
docs/releasenotes/_static/images/7.x/7.0.2-admin-draft-view.png
reviewboard/dependencies.py
reviewboard/staticbundles.py
reviewboard/accounts/models.py
reviewboard/hostingsvcs/managers.py
reviewboard/hostingsvcs/models.py
reviewboard/reviews/templatetags/reviewtags.py
reviewboard/static/rb/css/pages/search.less
reviewboard/static/rb/css/ui/banners.less
reviewboard/static/rb/js/accountPrefsPage/index.ts
reviewboard/static/rb/js/accountPrefsPage/views/apiTokensView.ts
reviewboard/static/rb/js/accountPrefsPage/views/joinedGroupsView.ts
reviewboard/static/rb/js/accountPrefsPage/views/oauthApplicationsView.ts
reviewboard/static/rb/js/accountPrefsPage/views/oauthApplicationsView.es6.js
reviewboard/static/rb/js/accountPrefsPage/views/oauthClientSecretView.es6.js
This diff has been split across 6 pages: 1 2 3 4 5 6 >
Loading...