mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 10:04:07 +00:00
pyupgrade: run pyupgrade --py36-plus and black on all but tests
This commit is contained in:
@@ -739,7 +739,7 @@ class HubOAuth(HubAuth):
|
||||
cookie_suffix = ''.join(
|
||||
random.choice(string.ascii_letters) for i in range(8)
|
||||
)
|
||||
cookie_name = '{}-{}'.format(self.state_cookie_name, cookie_suffix)
|
||||
cookie_name = f'{self.state_cookie_name}-{cookie_suffix}'
|
||||
extra_state['cookie_name'] = cookie_name
|
||||
else:
|
||||
cookie_name = self.state_cookie_name
|
||||
|
Reference in New Issue
Block a user