chore: remove ruff target-version (#32880)

This is not needed anymore since `requires-python` was added when moving
to `uv`.
This commit is contained in:
Christophe Bornet
2025-09-10 17:12:30 +02:00
committed by GitHub
parent 389a781aa0
commit b274416441
21 changed files with 0 additions and 59 deletions

View File

@@ -39,9 +39,6 @@ test_integration = []
langchain-core = { path = "../core", editable = true }
langchain = { path = "../langchain", editable = true }
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true

View File

@@ -73,9 +73,6 @@ disallow_any_generics = false
warn_return_any = false
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true

View File

@@ -120,7 +120,6 @@ langchain-text-splitters = { path = "../text-splitters", editable = true }
langchain-openai = { path = "../partners/openai", editable = true }
[tool.ruff]
target-version = "py39"
exclude = ["tests/integration_tests/examples/non-utf8-encoding.py"]
[tool.mypy]

View File

@@ -83,7 +83,6 @@ langchain-text-splitters = { path = "../text-splitters", editable = true }
langchain-openai = { path = "../partners/openai", editable = true }
[tool.ruff]
target-version = "py310"
exclude = ["tests/integration_tests/examples/non-utf8-encoding.py"]
line-length = 100

View File

@@ -56,9 +56,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
disallow_untyped_defs = "True"
plugins = ['pydantic.mypy']
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -58,9 +58,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = true
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -45,9 +45,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -44,9 +44,6 @@ langchain-core = { path = "../../core", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -48,9 +48,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -40,9 +40,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -54,9 +54,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -44,9 +44,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -40,9 +40,6 @@ dev = ["langchain-core"]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -42,9 +42,6 @@ langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -60,9 +60,6 @@ disallow_untyped_defs = "True"
module = "transformers"
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "T201", "UP", "S"]
ignore = [ "UP007", "UP045" ]

View File

@@ -55,9 +55,6 @@ plugins = ['pydantic.mypy']
module = "transformers"
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "T201", "UP", "S"]
ignore = [ "UP007", "UP045"]

View File

@@ -45,9 +45,6 @@ langchain-core = { path = "../../core", editable = true }
langchain-text-splitters = { path = "../../text-splitters", editable = true }
langchain = { path = "../../langchain", editable = true }
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "T201", "UP", "S"]
ignore = [ "UP007", "UP045" ]

View File

@@ -47,9 +47,6 @@ typing = ["mypy<2.0,>=1.10", "simsimd<7.0.0,>=6.0.0", "langchain-core"]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -50,9 +50,6 @@ langchain-openai = { path = "../openai", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins

View File

@@ -55,9 +55,6 @@ disallow_any_generics = false
module = ["vcr.*",]
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true

View File

@@ -63,9 +63,6 @@ warn_unreachable = true
module = ["konlpy", "nltk",]
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true