Skip to content

Commit affcf39

Browse files
DimitriPapadopoulosjaraco
authored andcommitted
Apply ruff/flake8-implicit-str-concat rule ISC001
ISC001 Implicitly concatenated string literals on one line
1 parent 8980c8c commit affcf39

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

distutils/command/bdist_rpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def _make_spec_file(self): # noqa: C901
529529
# are just text that we drop in as-is. Hmmm.
530530

531531
install_cmd = (
532-
'%s install -O1 --root=$RPM_BUILD_ROOT ' '--record=INSTALLED_FILES'
532+
'%s install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES'
533533
) % def_setup_call
534534

535535
script_options = [

distutils/command/register.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def send_metadata(self): # noqa: C901
225225
log.info('Server response (%s): %s', code, result)
226226
else:
227227
log.info('You will receive an email shortly.')
228-
log.info('Follow the instructions in it to ' 'complete registration.')
228+
log.info('Follow the instructions in it to complete registration.')
229229
elif choice == '3':
230230
data = {':action': 'password_reset'}
231231
data['email'] = ''

distutils/fancy_getopt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ def _check_alias_dict(self, aliases, what):
118118
for alias, opt in aliases.items():
119119
if alias not in self.option_index:
120120
raise DistutilsGetoptError(
121-
f"invalid {what} '{alias}': " f"option '{alias}' not defined"
121+
f"invalid {what} '{alias}': option '{alias}' not defined"
122122
)
123123
if opt not in self.option_index:
124124
raise DistutilsGetoptError(
125-
f"invalid {what} '{alias}': " f"aliased option '{opt}' not defined"
125+
f"invalid {what} '{alias}': aliased option '{opt}' not defined"
126126
)
127127

128128
def set_aliases(self, alias):

0 commit comments

Comments
 (0)