Modernize typing for reviewboard.certs.

Review Request #14897 — Created March 11, 2026 and updated

Information

Review Board
release-7.1.x

Reviewers

This updates the reviewboard.certs codebase to use modern typing in
preparation for upcoming work to integrate this into the rest of
Review Board.

It's a pretty routine change, and gets rid of a number of top-level
imports.

Unit tests pass.

Summary ID
Modernize typing for reviewboard.certs.
This updates the `reviewboard.certs` codebase to use modern typing in preparation for upcoming work to integrate this into the rest of Review Board. It's a pretty routine change, and gets rid of a number of top-level imports.
b3d9f8b3fd79af372fb1b8af8e4a8cc9321a911a
Description From Last Updated

'django.utils.text.slugify' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

typo: str | str -> str | None

daviddavid
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
chipx86
Review request changed
Change Summary:

Added some changes that were split into the wrong commit.

Commits:
Summary ID
Modernize typing for reviewboard.certs.
This updates the `reviewboard.certs` codebase to use modern typing in preparation for upcoming work to integrate this into the rest of Review Board. It's a pretty routine change, and gets rid of a number of top-level imports.
c39a567e23b089f24d30eb8f42c5d9576d260ae6
Modernize typing for reviewboard.certs.
This updates the `reviewboard.certs` codebase to use modern typing in preparation for upcoming work to integrate this into the rest of Review Board. It's a pretty routine change, and gets rid of a number of top-level imports.
b3d9f8b3fd79af372fb1b8af8e4a8cc9321a911a

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
maubin
  1. Ship It!
  2. 
      
david
  1. 
      
  2. reviewboard/certs/cert.py (Diff revision 3)
     
     
    Show all issues

    typo: str | str -> str | None

  3.