revert: "chore: remove ruff target-version" (#32895)

Reverts langchain-ai/langchain#32880

Not needed at the moment, will do when finishing v1
This commit is contained in:
Mason Daugherty authored and GitHub committed 2025-09-10 20:56:48 -04:00
1 parent 25c34bd9b2
commit 7a158c7f1c
21 files changed
+59

No files matched your search

+3
View File
@@ -39,6 +39,9 @@ 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
+3
View File
@@ -73,6 +73,9 @@ disallow_any_generics = false
warn_return_any = false
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true
+1
View File
@@ -120,6 +120,7 @@ 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]
+1
View File
@@ -83,6 +83,7 @@ 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
+3
View File
@@ -56,6 +56,9 @@ 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
+3
View File
@@ -58,6 +58,9 @@ 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
+3
View File
@@ -45,6 +45,9 @@ 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
+3
View File
@@ -44,6 +44,9 @@ langchain-core = { path = "../../core", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins
+3
View File
@@ -48,6 +48,9 @@ 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
+3
View File
@@ -40,6 +40,9 @@ 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
+3
View File
@@ -54,6 +54,9 @@ 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
+3
View File
@@ -44,6 +44,9 @@ 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
+3
View File
@@ -40,6 +40,9 @@ dev = ["langchain-core"]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins
+3
View File
@@ -42,6 +42,9 @@ 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
+3
View File
@@ -60,6 +60,9 @@ 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" ]
+3
View File
@@ -55,6 +55,9 @@ 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"]
+3
View File
@@ -45,6 +45,9 @@ 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" ]
+3
View File
@@ -47,6 +47,9 @@ 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
+3
View File
@@ -50,6 +50,9 @@ langchain-openai = { path = "../openai", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"A", # flake8-builtins
+3
View File
@@ -55,6 +55,9 @@ disallow_any_generics = false
module = ["vcr.*",]
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true
+3
View File
@@ -63,6 +63,9 @@ warn_unreachable = true
module = ["konlpy", "nltk",]
ignore_missing_imports = true
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true