mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-05-17 04:12:43 +00:00
chore(internal): detect missing future annotations with ruff
This commit is contained in:
parent
662246b39c
commit
932d414bd0
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue