Commit b20a9e7b

stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
2025-10-10 16:49:48
chore(internal): detect missing future annotations with ruff
1 parent e5f93f5
Changed files (1)
pyproject.toml
@@ -256,6 +256,8 @@ select = [
   "B",
   # remove unused imports
   "F401",
+  # check for missing future annotations
+  "FA102",
   # bare except statements
   "E722",
   # unused arguments
@@ -278,6 +280,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"