Skip to content

Commit a1f2c11

Browse files
authored
fix: fix new issues raised by ruff 0.16.0 (#3670)
1 parent ae7e90e commit a1f2c11

103 files changed

Lines changed: 173 additions & 44 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

integrations/agent_pack/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ ignore = [
133133
"PLR0912",
134134
"PLR0913",
135135
"PLR0915",
136+
"PLR0917",
136137
# Allow `Any` type - used legitimately for dynamic types and SDK boundaries
137138
"ANN401",
138139
]

integrations/aimlapi/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ ignore = [
127127
"PLR0912",
128128
"PLR0913",
129129
"PLR0915",
130+
"PLR0917",
130131
# Misc
131132
"B008",
132133
"S101",

integrations/alloydb/README.md

Lines changed: 6 additions & 4 deletions

integrations/alloydb/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ ignore = [
149149
"PLR0912",
150150
"PLR0913",
151151
"PLR0915",
152+
"PLR0917",
152153
# ignore function-call-in-default-argument
153154
"B008",
154155
# ignore assertions

integrations/amazon_bedrock/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ ignore = [
147147
"PLR0912",
148148
"PLR0913",
149149
"PLR0915",
150+
"PLR0917",
150151
# Ignore unused params
151152
"ARG001",
152153
"ARG002",

integrations/amazon_sagemaker/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ ignore = [
132132
"PLR0912",
133133
"PLR0913",
134134
"PLR0915",
135+
"PLR0917",
135136
]
136137

137138
[tool.ruff.lint.isort]

integrations/amazon_textract/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ ignore = [
142142
"PLR0912",
143143
"PLR0913",
144144
"PLR0915",
145+
"PLR0917",
145146
# Allow `Any` type - used legitimately for dynamic types and SDK boundaries
146147
"ANN401",
147148
]

integrations/anthropic/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ ignore = [
132132
"PLR0912",
133133
"PLR0913",
134134
"PLR0915",
135+
"PLR0917",
135136
# Ignore unused params
136137
"ARG001",
137138
"ARG002",

integrations/arangodb/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ ignore = [
127127
"PLR0912",
128128
"PLR0913",
129129
"PLR0915",
130+
"PLR0917",
130131
# Allow `Any` type - used legitimately for dynamic types and SDK boundaries
131132
"ANN401",
132133
]

integrations/arcadedb/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ select = [
9191
]
9292
ignore = [
9393
"B027", "FBT003", "S105", "S106", "S107",
94-
"C901", "PLR0911", "PLR0912", "PLR0913", "PLR0915",
94+
"C901", "PLR0911", "PLR0912", "PLR0913", "PLR0915", "PLR0917",
9595
"B008", "S101",
9696
# Allow `Any` - used legitimately for filter values that can be any comparable type
9797
"ANN401",

0 commit comments

Comments
 (0)