aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-10-30 22:20:48 +0000
committerGravatar Joe Banks <[email protected]>2025-11-10 18:41:30 +0000
commit07c651d3d3ada864b601dd065b4e4f4fed1fc52b (patch)
treeae4ff8a35f6aa198367c36f8bf3c4e27c5476b24
parentUpdate markdown parser for new heading parsing (diff)
Add new ruff rule banning from __future__ import annotations
Co-authored-by: onerandomusername <[email protected]>
-rw-r--r--pyproject.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 0f28a80e8..5693b61cc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,6 +86,9 @@ ignore = [
"SIM102", "SIM108",
]
+[tool.ruff.lint.flake8-tidy-imports.banned-api]
+"__future__.annotations".msg = "No longer required in Python 3.14+, see https://docs.python.org/3/reference/compound_stmts.html#annotations"
+
[tool.ruff.lint.isort]
order-by-type = false
case-sensitive = true