Skip to content

Commit 0267337

Browse files
committed
Add a release note for 2.1.0
1 parent f9ce2bc commit 0267337

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

docs/source/release-notes/2.1.0.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2.1.0: 2021-09-09
2+
-----------------
3+
4+
Features Added
5+
``````````````
6+
- Add ``maintainer_can_modify`` parameter to ``create_pull`` method of
7+
``Repo`` class.

docs/source/release-notes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ here with the newest releases first.
99
==================
1010

1111
.. toctree::
12+
2.1.0
1213
2.0.0
1314

1415
1.x Release Series

tests/unit/test_github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_create_key(self):
131131
)
132132

133133
def test_create_key_with_readonly(self):
134-
""" Test the request to create a key with read only"""
134+
"""Test the request to create a key with read only"""
135135
self.instance.create_key("key_name", "key text", read_only=True)
136136

137137
self.post_called_with(

tests/unit/test_repos_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def test_create_pull_maintainer_can_modify(self):
348348
"base": "master",
349349
"head": "feature_branch",
350350
"body": "body",
351-
"maintainer_can_modify": False
351+
"maintainer_can_modify": False,
352352
}
353353
with unittest.mock.patch.object(Repository, "_create_pull") as pull:
354354
self.instance.create_pull(**data)

0 commit comments

Comments
 (0)