chore(internal): detect missing future annotations with ruff

This commit is contained in:
stainless-app[bot] 2025-10-11 02:10:22 +00:00
parent 2aefa3a949
commit 7324661359

View file

@ -224,6 +224,8 @@ select = [
"B",
# remove unused imports
"F401",
# check for missing future annotations
"FA102",
# bare except statements
"E722",
# unused arguments
@ -246,6 +248,8 @@ unfixable = [
"T203",
]
extend-safe-fixes = ["FA102"]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"