chore: relax ruff a bit

This commit is contained in:
LUIS NOVO 2025-10-18 13:14:55 -03:00
parent 0363faba0b
commit 059ee29e18
2 changed files with 9 additions and 2 deletions

View file

@ -82,7 +82,14 @@ line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"]
ignore = [
"E501", # line too long
"E402", # module level import not at top of file (Streamlit requires this pattern)
"E722", # do not use bare except (legacy code pattern)
"F401", # imported but unused (may be used in type hints or re-exports)
"F541", # f-string without placeholders
"F841", # local variable assigned but never used
]
[tool.ruff.lint.per-file-ignores]
# Streamlit files need nest_asyncio.apply() before imports

View file

@ -2316,7 +2316,7 @@ dev = [
requires-dist = [
{ name = "ai-prompter", specifier = ">=0.3" },
{ name = "content-core", specifier = ">=1.0.2" },
{ name = "esperanto", specifier = ">=2.6.0" },
{ name = "esperanto", specifier = ">=2.4.1" },
{ name = "fastapi", specifier = ">=0.104.0" },
{ name = "groq", specifier = ">=0.12.0" },
{ name = "httpx", extras = ["socks"], specifier = ">=0.27.0" },