Skip to content

Commit 4902ffc

Browse files
committed
[QA] Use imperative form as per PEP 257.
1 parent d4441b9 commit 4902ffc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

github2/repositories.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def set_public(self, project):
160160
return self.make_request("set/public", project)
161161

162162
def list_collaborators(self, project):
163-
"""Lists all the collaborators in a project.
163+
"""List all the collaborators in a project.
164164
165165
:param str project: GitHub project
166166
@@ -170,7 +170,7 @@ def list_collaborators(self, project):
170170

171171
@requires_auth
172172
def add_collaborator(self, project, username):
173-
"""Adds an add_collaborator to a repo.
173+
"""Add an add_collaborator to a repo.
174174
175175
:param str project: Github project
176176
:param str username: Github user to add as collaborator
@@ -181,7 +181,7 @@ def add_collaborator(self, project, username):
181181

182182
@requires_auth
183183
def remove_collaborator(self, project, username):
184-
"""Removes an add_collaborator from a repo.
184+
"""Remove a collaborator from a repo.
185185
186186
:param str project: Github project
187187
:param str username: Github user to add as collaborator
@@ -233,7 +233,7 @@ def watchers(self, project):
233233
return self.get_values("show", project, "watchers", filter="watchers")
234234

235235
def watching(self, for_user=None, page=None):
236-
"""Lists all the repos a user is watching.
236+
"""List all the repos a user is watching.
237237
238238
:param str for_user: optional GitHub user name to list repositories for
239239
:param int page: optional page number
@@ -244,7 +244,7 @@ def watching(self, for_user=None, page=None):
244244
datatype=Repository, page=page)
245245

246246
def list_contributors(self, project):
247-
"""Lists all the contributors in a project.
247+
"""List all the contributors in a project.
248248
249249
:param str project: Github project
250250

0 commit comments

Comments
 (0)