Skip to content

Commit a22603c

Browse files
committed
Single quotes for machine strings
1 parent b64b07e commit a22603c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code_submitter/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class FileBackend(BasicAuthBackend):
222222
"""
223223

224224
UNKNOWN_USER_MESSAGE = "Username or password is incorrect"
225-
BLUESHIRT_TEAM = "SRX"
225+
BLUESHIRT_TEAM = 'SRX'
226226

227227
def __init__(self, *, path: Union[str, Path]) -> None:
228228
with open(path) as f:
@@ -248,5 +248,5 @@ async def validate(self, username: str, password: str) -> ValidationResult:
248248
scopes = self.get_scopes(username)
249249

250250
if BLUESHIRT_SCOPE in scopes:
251-
return scopes, User("SR", None)
252-
return scopes, User(f"Team {username}", username)
251+
return scopes, User('SR', None)
252+
return scopes, User(f'Team {username}', username)

0 commit comments

Comments
 (0)