diff --git a/pyproject.toml b/pyproject.toml
index 9f282b64239b853ab1d3e9649a617b056cce0cf5..33de3eb6bd99b80a20bfbfd2c2b2d5d8d8824125 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -116,6 +116,9 @@
 extend-select = ["ANN", "COM", "C4", "D", "DJ", "DTZ", "E", "F", "FA", "G", "INT", "LOG", "N", "PIE", "PL", "PT", "Q", "RET", "RUF", "SIM", "TC", "UP", "W"]
 ignore = ["ANN002", "ANN003", "ANN401", "COM812", "D200", "D203", "D205", "D213", "D301", "D400", "D405", "D406", "D407", "D413", "D415", "DJ001", "DJ007", "DJ012", "N812", "PIE790", "PLC0415", "PLC1901", "PLR09", "PLR1702", "PLR2004", "PLR5501", "PLR6301", "PLW0603", "PLW2901", "PT009", "PT027", "RET505", "RET506", "RUF012", "SIM105", "SIM108", "TC006", "UP012", "UP013"]
 
+[tool.ruff.lint.per-file-ignores]
+"reviewboard/deprecation.py" = ["N801"]
+
 [tool.ruff.lint.flake8-quotes]
 inline-quotes = "single"
 
diff --git a/reviewboard/deprecation.py b/reviewboard/deprecation.py
index 8d7012516041ca2146435816e2f874bad21c9836..95ee2da4d287d5727455dfd020d77776f44eb71b 100644
--- a/reviewboard/deprecation.py
+++ b/reviewboard/deprecation.py
@@ -43,6 +43,17 @@
     version = '9.0'
 
 
+class RemovedInReviewBoard10_0Warning(BaseRemovedInReviewBoardVersionWarning):
+    """Deprecations for features scheduled for removal in Review Board 10.0.
+
+    Note that this class will itself be removed in Review Board 10.0. If you
+    need to check against Review Board deprecation warnings, please see
+    :py:class:`BaseRemovedInReviewBoardVersionWarning`.
+    """
+
+    version = '10.0'
+
+
 #: An alias for the next release of Review Board where features will be
 #: removed.
-RemovedInNextReviewBoardVersionWarning = RemovedInReviewBoard80Warning
+RemovedInNextReviewBoardVersionWarning = RemovedInReviewBoard90Warning
