Skip to content

Commit ca198f6

Browse files
authored
Add ruff rules for sring concatenation (#547)
1 parent 023ffbe commit ca198f6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/notebooks/qa-maximal-marginal-relevance.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
"outputs": [],
216216
"source": [
217217
"BASE_SENTENCE_0 = (\n",
218-
" \"The frogs and the toads were meeting in the night \" \"for a party under the moon.\"\n",
218+
" \"The frogs and the toads were meeting in the night for a party under the moon.\"\n",
219219
")\n",
220220
"\n",
221221
"BASE_SENTENCE_1 = (\n",
@@ -234,7 +234,7 @@
234234
")\n",
235235
"\n",
236236
"DIFFERENT_SENTENCE = (\n",
237-
" \"For the party, frogs and toads set a rule: \" \"everyone was to wear a purple hat.\"\n",
237+
" \"For the party, frogs and toads set a rule: everyone was to wear a purple hat.\"\n",
238238
")"
239239
]
240240
},

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ select = [
6262
"E",
6363
"F",
6464
"I",
65+
"ISC",
6566
"N",
6667
"UP",
6768
"W",

0 commit comments

Comments
 (0)