Skip to content

Commit a3bfef9

Browse files
authored
Merge pull request #5013 from DimitriPapadopoulos/ISC
Enforce ruff/flake8-implicit-str-concat rules (ISC)
2 parents 3250c25 + 64bf9d0 commit a3bfef9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extend-select = [
2626

2727
# local
2828
"ANN2", # missing-return-type-*
29+
"ISC", # flake8-implicit-str-concat
2930
"PERF", # Perflint
3031
"PGH", # pygrep-hooks (blanket-* rules)
3132
"PT", # flake8-pytest-style

setuptools/command/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __getattr__(name: str): # pragma: no cover
2222
if name == "_install":
2323
SetuptoolsDeprecationWarning.emit(
2424
"`setuptools.command._install` was an internal implementation detail "
25-
+ "that was left in for numpy<1.9 support.",
25+
"that was left in for numpy<1.9 support.",
2626
due_date=(2025, 5, 2), # Originally added on 2024-11-01
2727
)
2828
return orig.install

setuptools/command/sdist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class sdist(orig.sdist):
3030
(
3131
'keep-temp',
3232
'k',
33-
"keep the distribution tree around after creating " + "archive file(s)",
33+
"keep the distribution tree around after creating archive file(s)",
3434
),
3535
(
3636
'dist-dir=',

0 commit comments

Comments
 (0)