Skip to content

Commit 7c4d9a1

Browse files
co-cydwoz
authored andcommitted
Fix lint W1404 implicit-str-concat in LoadAuth.get_tok warning
CI saltpylint flagged `salt/auth/__init__.py:253` with `W1404(implicit-str-concat)`. The two adjacent string literals on that line are the result of black collapsing what was originally a two-line string onto a single line, which saltpylint reads as a missing comma. Merge them into a single string literal; the message remains under 88 columns so black leaves it alone. Refs: #69073
1 parent 1f53a56 commit 7c4d9a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

salt/auth/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def get_tok(self, tok):
250250
# around makes every subsequent ``get_tok`` for the same
251251
# id keep failing.
252252
log.warning(
253-
"Token %r could not be deserialized; removing it from the " "store.",
253+
"Token %r could not be deserialized; removing it from the store.",
254254
tok,
255255
)
256256
self.rm_token(tok)

0 commit comments

Comments
 (0)