core: Bump ruff version to 0.9 (#29201)

Also run some preview autofix and formatting

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Christophe Bornet
2025-01-22 01:20:09 +01:00
committed by GitHub
parent 6f95db81b7
commit e4a78dfc2a
45 changed files with 460 additions and 336 deletions

View File

@@ -82,7 +82,8 @@ classmethod-decorators = [ "classmethod", "langchain_core.utils.pydantic.pre_ini
"scripts/**" = [ "S",]
[tool.poetry.group.lint.dependencies]
ruff = "^0.5"
ruff = "^0.9.2"
[tool.poetry.group.typing.dependencies]
@@ -92,12 +93,14 @@ types-requests = "^2.28.11.5"
types-jinja2 = "^2.11.9"
[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
setuptools = "^67.6.1"
grandalf = "^0.8"
[tool.poetry.group.test.dependencies]
pytest = "^8"
freezegun = "^1.2.2"
@@ -118,14 +121,17 @@ version = ">=1.26.0,<3"
python = ">=3.12"
[tool.poetry.group.test_integration.dependencies]
[tool.poetry.group.typing.dependencies.langchain-text-splitters]
path = "../text-splitters"
develop = true
[tool.poetry.group.test.dependencies.langchain-tests]
path = "../standard-tests"
develop = true