From 059ee29e181a3b2b803f736f0eb37400581552a0 Mon Sep 17 00:00:00 2001 From: LUIS NOVO Date: Sat, 18 Oct 2025 13:14:55 -0300 Subject: [PATCH] chore: relax ruff a bit --- pyproject.toml | 9 ++++++++- uv.lock | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0e34082..ec336e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 diff --git a/uv.lock b/uv.lock index 92a05cb..8445f31 100644 --- a/uv.lock +++ b/uv.lock @@ -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" },