Skip to content

Commit 4824e5e

Browse files
Add new ruff rule banning from __future__ import annotations
Co-authored-by: onerandomusername <me@arielle.codes>
1 parent 7dabec9 commit 4824e5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ ignore = [
8686
"SIM102", "SIM108",
8787
]
8888

89+
[tool.ruff.lint.flake8-tidy-imports.banned-api]
90+
"__future__.annotations".msg = "No longer required in Python 3.14+, see https://docs.python.org/3/reference/compound_stmts.html#annotations"
91+
8992
[tool.ruff.lint.isort]
9093
order-by-type = false
9194
case-sensitive = true

0 commit comments

Comments
 (0)