infra, multiple: Upgrade configuration for Ruff v0.2.0 (#16905)

## Summary

This PR upgrades LangChain's Ruff configuration in preparation for
Ruff's v0.2.0 release. (The changes are compatible with Ruff v0.1.5,
which LangChain uses today.) Specifically, we're now warning when
linter-only options are specified under `[tool.ruff]` instead of
`[tool.ruff.lint]`.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
Charlie Marsh
2024-02-09 17:28:02 -05:00
committed by GitHub
parent 01409add5a
commit 24c0bab57b
19 changed files with 28 additions and 24 deletions

View File

@@ -208,7 +208,7 @@
}
],
"source": [
"system = f\"\"\"Return the names of the SQL tables that are relevant to the user question. \\\n",
"system = \"\"\"Return the names of the SQL tables that are relevant to the user question. \\\n",
"The tables are:\n",
"\n",
"Music\n",