@@ -50,8 +50,8 @@ def get_tokens(self, auth, username=None):
5050 uses the user authenticated by ``auth``.
5151
5252 :param auth.Authentication auth: authentication for user to retrieve.
53- Must be a username-password authentication, due to a restriction of the
54- Gogs API
53+ Must be a username-password authentication,
54+ due to a restriction of the Gogs API
5555 :param str username: username of owner of tokens
5656
5757 :return: list of tokens
@@ -70,8 +70,8 @@ def create_token(self, auth, name, username=None):
7070 If no user is specified, uses user authenticated by ``auth``.
7171
7272 :param auth.Authentication auth: authentication for user to retrieve.
73- Must be a username-password authentication, due to a restriction of the
74- Gogs API
73+ Must be a username-password authentication,
74+ due to a restriction of the Gogs API
7575 :param str name: name of new token
7676 :param str username: username of owner of new token
7777
@@ -93,8 +93,8 @@ def ensure_token(self, auth, name, username=None):
9393 specified, uses user authenticated by ``auth``.
9494
9595 :param auth.Authentication auth: authentication for user to retrieve.
96- Must be a username-password authentication, due to a restriction of the
97- Gogs API
96+ Must be a username-password authentication,
97+ due to a restriction of the Gogs API
9898 :param str name: name of new token
9999 :param str username: username of owner of new token
100100
0 commit comments