From 07c651d3d3ada864b601dd065b4e4f4fed1fc52b Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 30 Oct 2025 22:20:48 +0000 Subject: Add new ruff rule banning from __future__ import annotations Co-authored-by: onerandomusername --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3