diff --git a/doc/changes.rst b/doc/changes.rst index 4f4f91afb2..adaeafc9da 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -4,6 +4,29 @@ Change log Stable versions ~~~~~~~~~~~~~~~ +Version 2.2.0 () +----------------------------------- + +Breaking Changes +^^^^^^^^^^^^^^^^ + +* The ``github.Comparison.Comparison`` instance returned by ``Repository.compare`` provides a ``commits`` + property that used to return a ``list[github.Commit.Commit]``, which has now been changed + to ``PaginatedList[github.Commit.Commit]``. This breaks user code that assumes a ``list``: + +.. code-block:: python + + commits = repo.compare("v0.6", "v0.7").commits + no_of_commits = len(commits) + +This will raise a ``TypeError: object of type 'PaginatedList' has no len()``, as the returned ``PaginatedList`` +does not support the ``len()`` method. Use the ``totalCount`` property instead: + +.. code-block:: python + + commits = repo.compare("v0.6", "v0.7").commits + no_of_commits = commits.totalCount + Version 2.1.1 (September 29, 2023) ----------------------------------- diff --git a/github/Comparison.py b/github/Comparison.py index a147d3c555..d2930fcac8 100644 --- a/github/Comparison.py +++ b/github/Comparison.py @@ -40,6 +40,7 @@ import github.Commit import github.File from github.GithubObject import Attribute, CompletableGithubObject, NotSet +from github.PaginatedList import PaginatedList class Comparison(CompletableGithubObject): @@ -51,7 +52,6 @@ def _initAttributes(self) -> None: self._ahead_by: Attribute[int] = NotSet self._base_commit: Attribute[github.Commit.Commit] = NotSet self._behind_by: Attribute[int] = NotSet - self._commits: Attribute[list[github.Commit.Commit]] = NotSet self._diff_url: Attribute[str] = NotSet self._files: Attribute[list[github.File.File]] = NotSet self._html_url: Attribute[str] = NotSet @@ -80,10 +80,21 @@ def behind_by(self) -> int: self._completeIfNotSet(self._behind_by) return self._behind_by.value + # This should be a method, but this used to be a property and cannot be changed without breaking user code + # TODO: remove @property on version 3 @property - def commits(self) -> list[github.Commit.Commit]: - self._completeIfNotSet(self._commits) - return self._commits.value + def commits(self) -> PaginatedList[github.Commit.Commit]: + return PaginatedList( + github.Commit.Commit, + self._requester, + self.url, + {}, + None, + "commits", + "total_commits", + self.raw_data, + self.raw_headers, + ) @property def diff_url(self) -> str: @@ -137,8 +148,6 @@ def _useAttributes(self, attributes: dict[str, Any]) -> None: self._base_commit = self._makeClassAttribute(github.Commit.Commit, attributes["base_commit"]) if "behind_by" in attributes: # pragma no branch self._behind_by = self._makeIntAttribute(attributes["behind_by"]) - if "commits" in attributes: # pragma no branch - self._commits = self._makeListOfClassesAttribute(github.Commit.Commit, attributes["commits"]) if "diff_url" in attributes: # pragma no branch self._diff_url = self._makeStringAttribute(attributes["diff_url"]) if "files" in attributes: # pragma no branch diff --git a/github/EnterpriseConsumedLicenses.py b/github/EnterpriseConsumedLicenses.py index 1cae2700ba..d05e47b6da 100644 --- a/github/EnterpriseConsumedLicenses.py +++ b/github/EnterpriseConsumedLicenses.py @@ -87,8 +87,8 @@ def get_users(self) -> PaginatedList[NamedEnterpriseUser]: url_parameters, None, "users", - self.raw_data, - self.raw_headers, + firstData=self.raw_data, + firstHeaders=self.raw_headers, ) def _useAttributes(self, attributes: Dict[str, Any]) -> None: diff --git a/github/PaginatedList.py b/github/PaginatedList.py index 29cdb42d9e..719797c661 100644 --- a/github/PaginatedList.py +++ b/github/PaginatedList.py @@ -152,6 +152,7 @@ def __init__( firstParams: Any, headers: Optional[Dict[str, str]] = None, list_item: str = "items", + total_count_item: str = "total_count", firstData: Optional[Any] = None, firstHeaders: Optional[Dict[str, Union[str, int]]] = None, attributesTransformer: Optional[Callable[[Dict[str, Any]], Dict[str, Any]]] = None, @@ -164,6 +165,7 @@ def __init__( self.__nextParams = firstParams or {} self.__headers = headers self.__list_item = list_item + self.__total_count_item = total_count_item if self.__requester.per_page != 30: self.__nextParams["per_page"] = self.__requester.per_page self._reversed = False @@ -255,7 +257,7 @@ def _getPage(self, data: Any, headers: Dict[str, Any]) -> List[T]: self.__nextUrl = links["next"] self.__nextParams = None if self.__list_item in data: - self.__totalCount = data.get("total_count") + self.__totalCount = data.get(self.__total_count_item) data = data[self.__list_item] content = [ self.__contentClass(self.__requester, headers, self._transformAttributes(element), completed=False) diff --git a/github/Repository.py b/github/Repository.py index 336a31e49a..27ea817e4d 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1105,7 +1105,7 @@ def remove_invitation(self, invite_id: int) -> None: def compare(self, base: str, head: str) -> Comparison: """ - :calls: `GET /repos/{owner}/{repo}/compare/{base...:head} `_ + :calls: `GET /repos/{owner}/{repo}/compare/{base...:head} `_ :param base: string :param head: string :rtype: :class:`github.Comparison.Comparison` @@ -1114,7 +1114,11 @@ def compare(self, base: str, head: str) -> Comparison: assert isinstance(head, str), head base = urllib.parse.quote(base) head = urllib.parse.quote(head) - headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/compare/{base}...{head}") + # the compare API has a per_page default of 250, which is different to Consts.DEFAULT_PER_PAGE + per_page = self._requester.per_page if self._requester.per_page != Consts.DEFAULT_PER_PAGE else 250 + # only with page=1 we get the pagination headers for the commits element + params = {"page": 1, "per_page": per_page} + headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/compare/{base}...{head}", params) return github.Comparison.Comparison(self._requester, headers, data, completed=True) def create_autolink( diff --git a/tests/ReplayData/ExposeAllAttributes.testAllClasses.txt b/tests/ReplayData/ExposeAllAttributes.testAllClasses.txt index 6ecc1e9d1b..5425c2d215 100644 --- a/tests/ReplayData/ExposeAllAttributes.testAllClasses.txt +++ b/tests/ReplayData/ExposeAllAttributes.testAllClasses.txt @@ -299,7 +299,7 @@ https GET api.github.com None -/repos/jacquev6/PyGithub/compare/master...develop +/repos/jacquev6/PyGithub/compare/master...develop?page=1&per_page=250 {'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'} None 200 diff --git a/tests/ReplayData/Repository.testCompare.txt b/tests/ReplayData/Repository.testCompare.txt index 34f27a8445..90a685c260 100644 --- a/tests/ReplayData/Repository.testCompare.txt +++ b/tests/ReplayData/Repository.testCompare.txt @@ -2,7 +2,7 @@ https GET api.github.com None -/repos/jacquev6/PyGithub/compare/v0.6...v0.7 +/repos/jacquev6/PyGithub/compare/v0.6...v0.7?page=1&per_page=250 {'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'} None 200 diff --git a/tests/ReplayData/Repository.testCompareCommitPagination.txt b/tests/ReplayData/Repository.testCompareCommitPagination.txt new file mode 100644 index 0000000000..181e216104 --- /dev/null +++ b/tests/ReplayData/Repository.testCompareCommitPagination.txt @@ -0,0 +1,43 @@ +https +GET +api.github.com +None +/repos/PyGithub/PyGithub +{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'} +None +200 +[('Server', 'GitHub.com'), ('Date', 'Wed, 24 Jan 2024 06:45:29 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"9ae1c35715c1b3c319fe579abed57aeaf53d949c1844bf95f830004c1eba31ec"'), ('Last-Modified', 'Tue, 23 Jan 2024 10:05:32 GMT'), ('github-authentication-token-expiration', '2024-02-19 10:58:06 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4964'), ('X-RateLimit-Reset', '1706081414'), ('X-RateLimit-Used', '36'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'B642:56C8A:21B64A9:222AA91:65B0B209')] +{"id":3544490,"node_id":"MDEwOlJlcG9zaXRvcnkzNTQ0NDkw","name":"PyGithub","full_name":"PyGithub/PyGithub","private":false,"owner":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PyGithub/PyGithub","description":"Typed interactions with the GitHub API v3","fork":false,"url":"https://api.github.com/repos/PyGithub/PyGithub","forks_url":"https://api.github.com/repos/PyGithub/PyGithub/forks","keys_url":"https://api.github.com/repos/PyGithub/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyGithub/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyGithub/PyGithub/teams","hooks_url":"https://api.github.com/repos/PyGithub/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/PyGithub/PyGithub/events","assignees_url":"https://api.github.com/repos/PyGithub/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/PyGithub/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/PyGithub/PyGithub/tags","blobs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyGithub/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/PyGithub/PyGithub/languages","stargazers_url":"https://api.github.com/repos/PyGithub/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/PyGithub/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/PyGithub/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/PyGithub/PyGithub/subscription","commits_url":"https://api.github.com/repos/PyGithub/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/PyGithub/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyGithub/PyGithub/merges","archive_url":"https://api.github.com/repos/PyGithub/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyGithub/PyGithub/downloads","issues_url":"https://api.github.com/repos/PyGithub/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/PyGithub/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/PyGithub/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/PyGithub/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments","created_at":"2012-02-25T12:53:47Z","updated_at":"2024-01-23T10:05:32Z","pushed_at":"2024-01-23T19:27:16Z","git_url":"git://github.com/PyGithub/PyGithub.git","ssh_url":"git@github.com:PyGithub/PyGithub.git","clone_url":"https://github.com/PyGithub/PyGithub.git","svn_url":"https://github.com/PyGithub/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":15541,"stargazers_count":6497,"watchers_count":6497,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":1718,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":282,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["github","github-api","pygithub","python"],"visibility":"public","forks":1718,"open_issues":282,"watchers":6497,"default_branch":"main","permissions":{"admin":false,"maintain":false,"push":true,"triage":true,"pull":true},"custom_properties":{},"organization":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","site_admin":false},"network_count":1718,"subscribers_count":111} + +https +GET +api.github.com +None +/repos/PyGithub/PyGithub/compare/v1.54...v1.54.1?page=1&per_page=4 +{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'} +None +200 +[('Server', 'GitHub.com'), ('Date', 'Wed, 24 Jan 2024 06:45:30 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"b22a1a1b4fe01543dfca61320cdf0ef99ae3b6ef93399b829e93b855dddc86c0"'), ('Last-Modified', 'Thu, 24 Dec 2020 04:11:01 GMT'), ('github-authentication-token-expiration', '2024-02-19 10:58:06 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '; rel="last", ; rel="next", ; rel="first"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4963'), ('X-RateLimit-Reset', '1706081414'), ('X-RateLimit-Used', '37'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'B648:2146CD:1F05D5A:1F79C09:65B0B209')] +{"url":"https://api.github.com/repos/PyGithub/PyGithub/compare/v1.54...v1.54.1","html_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1","permalink_url":"https://github.com/PyGithub/PyGithub/compare/PyGithub:951fcdf...PyGithub:34d097c","diff_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1.diff","patch_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1.patch","base_commit":{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5NTFmY2RmMjNmOGM2NTdiNTI1ZGVlNzgwODZiYzRkZmQ0MmVmODEw","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"message":"Publish version 1.54","tree":{"sha":"1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"6d501b286e04f324bc87532003f0564624981ecb","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/6d501b286e04f324bc87532003f0564624981ecb","html_url":"https://github.com/PyGithub/PyGithub/commit/6d501b286e04f324bc87532003f0564624981ecb"}]},"merge_base_commit":{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5NTFmY2RmMjNmOGM2NTdiNTI1ZGVlNzgwODZiYzRkZmQ0MmVmODEw","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"message":"Publish version 1.54","tree":{"sha":"1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"6d501b286e04f324bc87532003f0564624981ecb","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/6d501b286e04f324bc87532003f0564624981ecb","html_url":"https://github.com/PyGithub/PyGithub/commit/6d501b286e04f324bc87532003f0564624981ecb"}]},"status":"ahead","ahead_by":10,"behind_by":0,"total_commits":10,"commits":[{"sha":"fab682a5ccfc275c31ec37f1f541254c7bd780f3","node_id":"MDY6Q29tbWl0MzU0NDQ5MDpmYWI2ODJhNWNjZmMyNzVjMzFlYzM3ZjFmNTQxMjU0YzdiZDc4MGYz","commit":{"author":{"name":"Pascal Hofmann","email":"mail@pascalhofmann.de","date":"2020-11-30T07:53:59Z"},"committer":{"name":"Pascal Hofmann","email":"mail@pascalhofmann.de","date":"2020-11-30T07:53:59Z"},"message":"Fix stubs file for Repository","tree":{"sha":"33a9a785fd98dc79d1033ef2e49f30e2282246f0","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/33a9a785fd98dc79d1033ef2e49f30e2282246f0"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/fab682a5ccfc275c31ec37f1f541254c7bd780f3","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/fab682a5ccfc275c31ec37f1f541254c7bd780f3","html_url":"https://github.com/PyGithub/PyGithub/commit/fab682a5ccfc275c31ec37f1f541254c7bd780f3","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/fab682a5ccfc275c31ec37f1f541254c7bd780f3/comments","author":{"login":"pascal-hofmann","id":2102878,"node_id":"MDQ6VXNlcjIxMDI4Nzg=","avatar_url":"https://avatars.githubusercontent.com/u/2102878?v=4","gravatar_id":"","url":"https://api.github.com/users/pascal-hofmann","html_url":"https://github.com/pascal-hofmann","followers_url":"https://api.github.com/users/pascal-hofmann/followers","following_url":"https://api.github.com/users/pascal-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/pascal-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pascal-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascal-hofmann/subscriptions","organizations_url":"https://api.github.com/users/pascal-hofmann/orgs","repos_url":"https://api.github.com/users/pascal-hofmann/repos","events_url":"https://api.github.com/users/pascal-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/pascal-hofmann/received_events","type":"User","site_admin":false},"committer":{"login":"pascal-hofmann","id":2102878,"node_id":"MDQ6VXNlcjIxMDI4Nzg=","avatar_url":"https://avatars.githubusercontent.com/u/2102878?v=4","gravatar_id":"","url":"https://api.github.com/users/pascal-hofmann","html_url":"https://github.com/pascal-hofmann","followers_url":"https://api.github.com/users/pascal-hofmann/followers","following_url":"https://api.github.com/users/pascal-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/pascal-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pascal-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascal-hofmann/subscriptions","organizations_url":"https://api.github.com/users/pascal-hofmann/orgs","repos_url":"https://api.github.com/users/pascal-hofmann/repos","events_url":"https://api.github.com/users/pascal-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/pascal-hofmann/received_events","type":"User","site_admin":false},"parents":[{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810"}]},{"sha":"9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5ZWUzYWZiMTcxNmM1NTlhMGIzYjQ0ZTA5N2MwNWY0YjE0YWUyYWI4","commit":{"author":{"name":"Pascal Hofmann","email":"mail@pascalhofmann.de","date":"2020-11-30T11:27:48Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-11-30T11:27:48Z"},"message":"Merge pull request #1767 from pascal-hofmann/fix-repository-stubs\n\nFix stubs file for Repository","tree":{"sha":"33a9a785fd98dc79d1033ef2e49f30e2282246f0","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/33a9a785fd98dc79d1033ef2e49f30e2282246f0"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfxNc0CRBK7hj4Ov3rIwAAdHIIAJb9YeSv3LLlSy7Nr4nILkyn\nMqrW9cvtvnqAH81QtuHlEKShsh33hbKmx9On1lxj7VcRBiB/6cLpAEUJowq0A4zt\n341cVH9+0mbmq+eG1c5vE/vTzq5Uu2mUpvjQ89ssyEvkQ/lIvOEBNAWwJSNwQOc0\n1LcGW1OEh+xmK7SxwvPXxE6aXjBgG8wv0WtFxmhlLoDzvwPymf9qM4/eq2UF6TmU\nzMop0xhv7Kkls626P0HN7wklupth8zaOAJO9vtn8m25sZoZ8XRr2KIX9gAV6jCLW\nuV0GFogjfpya9BVCa7Lh5o6m29ruyTgqIok4rPbZA8aDhQImq243PgP1reVinok=\n=Fepr\n-----END PGP SIGNATURE-----\n","payload":"tree 33a9a785fd98dc79d1033ef2e49f30e2282246f0\nparent 951fcdf23f8c657b525dee78086bc4dfd42ef810\nparent fab682a5ccfc275c31ec37f1f541254c7bd780f3\nauthor Pascal Hofmann 1606735668 +0100\ncommitter GitHub 1606735668 +0100\n\nMerge pull request #1767 from pascal-hofmann/fix-repository-stubs\n\nFix stubs file for Repository"}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8","html_url":"https://github.com/PyGithub/PyGithub/commit/9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8/comments","author":{"login":"pascal-hofmann","id":2102878,"node_id":"MDQ6VXNlcjIxMDI4Nzg=","avatar_url":"https://avatars.githubusercontent.com/u/2102878?v=4","gravatar_id":"","url":"https://api.github.com/users/pascal-hofmann","html_url":"https://github.com/pascal-hofmann","followers_url":"https://api.github.com/users/pascal-hofmann/followers","following_url":"https://api.github.com/users/pascal-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/pascal-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pascal-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascal-hofmann/subscriptions","organizations_url":"https://api.github.com/users/pascal-hofmann/orgs","repos_url":"https://api.github.com/users/pascal-hofmann/repos","events_url":"https://api.github.com/users/pascal-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/pascal-hofmann/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810"},{"sha":"fab682a5ccfc275c31ec37f1f541254c7bd780f3","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/fab682a5ccfc275c31ec37f1f541254c7bd780f3","html_url":"https://github.com/PyGithub/PyGithub/commit/fab682a5ccfc275c31ec37f1f541254c7bd780f3"}]},{"sha":"a806b5233f6423e0f8dacc4d04b6d81a72689bed","node_id":"MDY6Q29tbWl0MzU0NDQ5MDphODA2YjUyMzNmNjQyM2UwZjhkYWNjNGQwNGI2ZDgxYTcyNjg5YmVk","commit":{"author":{"name":"Sébastien Besson","email":"seb.besson@gmail.com","date":"2020-11-30T23:17:18Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-11-30T23:17:18Z"},"message":"Revert \"Pin requests to <2.25 as well (#1757)\" (#1763)\n\n* Revert \"Pin requests to <2.25 as well (#1757)\"\r\n* Ensure httpretty is more recent than 1.0.3\r\n\r\nThis reverts commit d159425f36dc7f68766cc980e262e9287e5f111c.","tree":{"sha":"b33c2872fb923bf90b2a594aa3cd5b1898d1fc65","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/b33c2872fb923bf90b2a594aa3cd5b1898d1fc65"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/a806b5233f6423e0f8dacc4d04b6d81a72689bed","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfxX1+CRBK7hj4Ov3rIwAAdHIIAAqZsjeHvnQx2UVmlIqZaucp\naHuoyFp/5P+fgz/oKRnsINmmUcBdcjyLv0qXmgda3g87X9sx7fJh7DDK7MTlw5Ka\n07T/pY8+spaZfm7mVCVp7bh7741AE0tx/Gi2MhI6LPtFMHyCmy9ljeWCrMBvtPDc\naggmA8iGbp8XJ6ln++w2EATwyY9bxelWNgy0cwM7R1Eas/5NtVInETcCf+i9cJ3u\n5ONRvnV9oWFnd3LLD2lxJb2A2STX/IZ4WmXrFj6cb8bWwXJPfvlyK9f97H65+2/k\nRefP5cIfgdRGbd7Le71A90q3PFOpvzTMS+YGrF+l4H1OZ+t3AnqL/H2GzXHFYWY=\n=Dqlm\n-----END PGP SIGNATURE-----\n","payload":"tree b33c2872fb923bf90b2a594aa3cd5b1898d1fc65\nparent 9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8\nauthor Sébastien Besson 1606778238 +0000\ncommitter GitHub 1606778238 +1100\n\nRevert \"Pin requests to <2.25 as well (#1757)\" (#1763)\n\n* Revert \"Pin requests to <2.25 as well (#1757)\"\r\n* Ensure httpretty is more recent than 1.0.3\r\n\r\nThis reverts commit d159425f36dc7f68766cc980e262e9287e5f111c."}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/a806b5233f6423e0f8dacc4d04b6d81a72689bed","html_url":"https://github.com/PyGithub/PyGithub/commit/a806b5233f6423e0f8dacc4d04b6d81a72689bed","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/a806b5233f6423e0f8dacc4d04b6d81a72689bed/comments","author":{"login":"sbesson","id":1355463,"node_id":"MDQ6VXNlcjEzNTU0NjM=","avatar_url":"https://avatars.githubusercontent.com/u/1355463?v=4","gravatar_id":"","url":"https://api.github.com/users/sbesson","html_url":"https://github.com/sbesson","followers_url":"https://api.github.com/users/sbesson/followers","following_url":"https://api.github.com/users/sbesson/following{/other_user}","gists_url":"https://api.github.com/users/sbesson/gists{/gist_id}","starred_url":"https://api.github.com/users/sbesson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbesson/subscriptions","organizations_url":"https://api.github.com/users/sbesson/orgs","repos_url":"https://api.github.com/users/sbesson/repos","events_url":"https://api.github.com/users/sbesson/events{/privacy}","received_events_url":"https://api.github.com/users/sbesson/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8","html_url":"https://github.com/PyGithub/PyGithub/commit/9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8"}]},{"sha":"63e4fae997a9a5dc8c2b56907c87c565537bb28f","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo2M2U0ZmFlOTk3YTlhNWRjOGMyYjU2OTA3Yzg3YzU2NTUzN2JiMjhm","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-12-02T03:47:45Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-12-02T03:47:45Z"},"message":"Drop support for Python 3.5 (#1770)\n\nIn preperation for starting to use 3.6+ only features, stop testing\r\nPython 3.5 in our CI, and bump our minimum required version.","tree":{"sha":"fde51c1aa322cbdd646e1677d1e69fb9d0457ae7","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/fde51c1aa322cbdd646e1677d1e69fb9d0457ae7"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/63e4fae997a9a5dc8c2b56907c87c565537bb28f","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfxw5hCRBK7hj4Ov3rIwAAdHIIADWSUehbe2GbpLdhBVQY2SZ2\nAm1ACkzu6AMNG2AfrSVrd2e8mnOUt/BEIIGT+MHxKLTbApDuEo5m7DnIs/zJJUDw\n67eDlQySTP72UHMnZNukELGffNdhQDuZh9K6SeAn/C+qS/UwrTpUo/Zk6u9joVkm\nxbgMGutpg/gi+NYDaPxwHvqlXrFyB2zLrnF/jsRIYNqvJ1XPmgPSHZ2s54ivGLep\npKqGvyA92knGAnL8PZpy6d7pbyx8DWAgGokpP3Bgm3W8YuFNPX/25d81V5RTwUHs\n4pGREUyooUHz2yjARTTwvGWXH+1KwwmRCfGkSPmNMzJYoJkeGkgNAPRLHEbgdhk=\n=n01c\n-----END PGP SIGNATURE-----\n","payload":"tree fde51c1aa322cbdd646e1677d1e69fb9d0457ae7\nparent a806b5233f6423e0f8dacc4d04b6d81a72689bed\nauthor Steve Kowalik 1606880865 +1100\ncommitter GitHub 1606880865 +1100\n\nDrop support for Python 3.5 (#1770)\n\nIn preperation for starting to use 3.6+ only features, stop testing\r\nPython 3.5 in our CI, and bump our minimum required version."}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/63e4fae997a9a5dc8c2b56907c87c565537bb28f","html_url":"https://github.com/PyGithub/PyGithub/commit/63e4fae997a9a5dc8c2b56907c87c565537bb28f","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/63e4fae997a9a5dc8c2b56907c87c565537bb28f/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"a806b5233f6423e0f8dacc4d04b6d81a72689bed","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/a806b5233f6423e0f8dacc4d04b6d81a72689bed","html_url":"https://github.com/PyGithub/PyGithub/commit/a806b5233f6423e0f8dacc4d04b6d81a72689bed"}]}],"files":[{"sha":"9abd22d1d5f4695912c1853cc8fb19eb15aacddc","filename":".git-blame-ignore-revs","status":"modified","additions":3,"deletions":0,"changes":3,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/.git-blame-ignore-revs","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/.git-blame-ignore-revs","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/.git-blame-ignore-revs?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -6,3 +6,6 @@\n \n # Format with new black\n 07e29fe014b7e214e72b51129fbef55468a7309d\n+\n+# Add pyupgrade to pre-commit\n+e113e37de1ec687c68337d777f3629251b35ab28"},{"sha":"38fe00ef7c4345da1fcd6da1d98cb19be523a7cd","filename":".github/workflows/ci.yml","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/.github%2Fworkflows%2Fci.yml","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/.github%2Fworkflows%2Fci.yml","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/.github%2Fworkflows%2Fci.yml?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -9,7 +9,7 @@ jobs:\n name: test (Python ${{ matrix.python-version }})\n strategy:\n matrix:\n- python-version: [3.5, 3.6, 3.7, 3.8, 3.9]\n+ python-version: [3.6, 3.7, 3.8, 3.9]\n steps:\n - uses: actions/checkout@v2\n - name: Set up Python"},{"sha":"e18dd1f992e60b0460831fdf3d64fe9511cd45dc","filename":".pre-commit-config.yaml","status":"modified","additions":6,"deletions":0,"changes":6,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/.pre-commit-config.yaml","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/.pre-commit-config.yaml","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/.pre-commit-config.yaml?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -24,3 +24,9 @@ repos:\n args:\n - --ignore-words-list=\"bloaded,nto,pullrequest,pullrequests,thi,tim,wan,Wan,chang,Chang\"\n - --quiet-level=2\n+ - repo: https://github.com/asottile/pyupgrade\n+ rev: v2.7.4\n+ hooks:\n+ - id: pyupgrade\n+ args:\n+ - --py36-plus"},{"sha":"43d33319fa66a12c3ecf956884e5a606b0430d6c","filename":"doc/changes.rst","status":"modified","additions":10,"deletions":0,"changes":10,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/doc%2Fchanges.rst","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/doc%2Fchanges.rst","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/doc%2Fchanges.rst?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -4,6 +4,16 @@ Change log\n Stable versions\n ~~~~~~~~~~~~~~~\n \n+Version 1.54.1 (December 24, 2020)\n+-----------------------------------\n+\n+* Pin pyjwt version (#1797) (31a1c007)\n+* Add pyupgrade to pre-commit configuration (#1783) (e113e37d)\n+* Fix #1731: Incorrect annotation (82c349ce)\n+* Drop support for Python 3.5 (#1770) (63e4fae9)\n+* Revert \"Pin requests to <2.25 as well (#1757)\" (#1763) (a806b523)\n+* Fix stubs file for Repository (fab682a5)\n+\n Version 1.54 (November 30, 2020)\n -----------------------------------\n **Important**"},{"sha":"b8187945593d83a2e6003075064f3e7f3f6cdebd","filename":"doc/conf.py","status":"modified","additions":6,"deletions":8,"changes":14,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/doc%2Fconf.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/doc%2Fconf.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/doc%2Fconf.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -61,8 +59,8 @@\n master_doc = \"index\"\n \n # General information about the project.\n-project = u\"PyGithub\"\n-copyright = u\"%d, Vincent Jacques\" % datetime.date.today().year\n+project = \"PyGithub\"\n+copyright = \"%d, Vincent Jacques\" % datetime.date.today().year\n \n # The version info for the project you're documenting, acts as replacement for\n # |version| and |release|, also used in various other places throughout the\n@@ -204,7 +202,7 @@\n # Grouping the document tree into LaTeX files. List of tuples\n # (source start file, target name, title, author, documentclass [howto/manual]).\n latex_documents = [\n- (\"index\", \"PyGithub.tex\", u\"PyGithub Documentation\", u\"Vincent Jacques\", \"manual\"),\n+ (\"index\", \"PyGithub.tex\", \"PyGithub Documentation\", \"Vincent Jacques\", \"manual\"),\n ]\n \n # The name of an image file (relative to this directory) to place at the top of\n@@ -232,7 +230,7 @@\n \n # One entry per manual page. List of tuples\n # (source start file, name, description, authors, manual section).\n-man_pages = [(\"index\", \"pygithub\", u\"PyGithub Documentation\", [u\"Vincent Jacques\"], 1)]\n+man_pages = [(\"index\", \"pygithub\", \"PyGithub Documentation\", [\"Vincent Jacques\"], 1)]\n \n # If true, show URL addresses after external links.\n # man_show_urls = False\n@@ -247,8 +245,8 @@\n (\n \"index\",\n \"PyGithub\",\n- u\"PyGithub Documentation\",\n- u\"Vincent Jacques\",\n+ \"PyGithub Documentation\",\n+ \"Vincent Jacques\",\n \"PyGithub\",\n \"One line description of project.\",\n \"Miscellaneous\","},{"sha":"f2fb64f468b5abcb93635bc849d69092f48a78e3","filename":"github/AccessToken.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAccessToken.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAccessToken.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FAccessToken.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Rigas Papathanasopoulos #"},{"sha":"2d1f81d920743a0ba33c078ba430283d5d8b6bc6","filename":"github/ApplicationOAuth.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FApplicationOAuth.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FApplicationOAuth.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FApplicationOAuth.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ###########################\n # #\n # Copyright 2019 Rigas Papathanasopoulos #\n@@ -75,7 +73,7 @@ def get_login_url(self, redirect_uri=None, state=None, login=None):\n parameters = urllib.parse.urlencode(parameters)\n \n base_url = \"https://github.com/login/oauth/authorize\"\n- return u\"{}?{}\".format(base_url, parameters)\n+ return f\"{base_url}?{parameters}\"\n \n def get_access_token(self, code, state=None):\n \"\"\""},{"sha":"58a5c5d6e933a4451a4a3f3babb204abb580d0b8","filename":"github/AuthenticatedUser.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAuthenticatedUser.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAuthenticatedUser.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FAuthenticatedUser.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Steve English #"},{"sha":"bbddd170d0663ac6a1151b2eb87924f6d531c488","filename":"github/Authorization.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAuthorization.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAuthorization.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FAuthorization.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"38dd650943433ed86b42c0674f50b0c0173988d6","filename":"github/AuthorizationApplication.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAuthorizationApplication.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FAuthorizationApplication.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FAuthorizationApplication.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f723301c992529f6902bb52d24c8d1d5b8a2c80b","filename":"github/Branch.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FBranch.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FBranch.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FBranch.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"ffc364c8dfa5bc0627194187690e5c48eb4ac65a","filename":"github/BranchProtection.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FBranchProtection.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FBranchProtection.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FBranchProtection.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"9a895980289ad23c20ee682182d4af108d0ae82a","filename":"github/CheckRun.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckRun.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckRun.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCheckRun.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Dhruv Manilawala #"},{"sha":"5c7033cda9894b83e696d8e880cde3166c73265a","filename":"github/CheckRunAnnotation.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckRunAnnotation.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckRunAnnotation.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCheckRunAnnotation.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Dhruv Manilawala #"},{"sha":"3dfc02382ac738303501d2e9806ad2c980b6d0dd","filename":"github/CheckRunOutput.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckRunOutput.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckRunOutput.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCheckRunOutput.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Dhruv Manilawala #"},{"sha":"d6d67c32f6426c2c786cc5c240a245c65403d246","filename":"github/CheckSuite.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckSuite.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCheckSuite.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCheckSuite.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Raju Subramanian #"},{"sha":"bf07b60b83c9fe2a07befe1ba921f6cc58a1cb9c","filename":"github/Clones.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FClones.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FClones.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FClones.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Justin Kufro #"},{"sha":"f951589d35e368580c9e6ca419aafb63dc8c72c6","filename":"github/Commit.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommit.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommit.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCommit.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"fb420d868a30436f0953530673e709ba70828325","filename":"github/CommitCombinedStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitCombinedStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitCombinedStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCommitCombinedStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2016 Jannis Gebauer #"},{"sha":"f5eca565eede61e0d528f4ffbc1693af5eddd67e","filename":"github/CommitComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCommitComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"2a511c8a74a7d664037036ef15d55c0f2a8dd2f4","filename":"github/CommitStats.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitStats.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitStats.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCommitStats.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"b95b49e461a267862bc3892edc0f53e731d8a5be","filename":"github/CommitStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FCommitStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FCommitStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f058b7e3892f40a38fe9a38a18bdfa2463ea2f18","filename":"github/Comparison.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FComparison.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FComparison.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FComparison.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"d5cbcb7e21893bd46c1901678a5aa687c51da628","filename":"github/Consts.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FConsts.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FConsts.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FConsts.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 AKFish #"},{"sha":"8d3289aeccde1b2eb91e0559539abd1f2bf45b8c","filename":"github/ContentFile.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FContentFile.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FContentFile.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FContentFile.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"9e959d097de554c0923d68216bf7b47a9fa24ac2","filename":"github/Deployment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FDeployment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FDeployment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FDeployment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"518f0b4a8ed3bcd779eaa06ad07c8777aebd71d5","filename":"github/DeploymentStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FDeploymentStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FDeploymentStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FDeploymentStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Colby Gallup #"},{"sha":"5c7932eacbd61d53f395f48c8191aa46318a8238","filename":"github/Download.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FDownload.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FDownload.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FDownload.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f690d802290538cc39ae9d4e14db807e1ba47a57","filename":"github/Event.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FEvent.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FEvent.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FEvent.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"cc07442cae8a3add1bbd667f527be8ddf810a4fc","filename":"github/File.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FFile.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FFile.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FFile.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"88b799a3eea219e600841d4cfff7f01bdd518371","filename":"github/Gist.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGist.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGist.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGist.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Steve English #"},{"sha":"7bf85ec504d271f6db8524b06cdc2b21e7ed7d56","filename":"github/GistComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGistComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGistComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGistComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f540e154a56e255f5e3489206ae4ca088b477bec","filename":"github/GistFile.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGistFile.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGistFile.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGistFile.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"5cb9690895e5563ceac5d14fb794c299e9187f20","filename":"github/GistHistoryState.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGistHistoryState.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGistHistoryState.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGistHistoryState.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"56f7a32283fc9e9df31e46db11fa347626cbfaa8","filename":"github/GitAuthor.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitAuthor.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitAuthor.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitAuthor.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"c93e8c633c7f3d3a4324364425d6c27ac2fc6db9","filename":"github/GitBlob.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitBlob.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitBlob.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitBlob.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"0a7aa6d81521874afa17ca6376ce125251293196","filename":"github/GitCommit.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitCommit.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitCommit.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitCommit.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"02eb49af4126829280947ae4c6b9ebbc66e46a33","filename":"github/GitObject.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitObject.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitObject.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitObject.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"69222b7d264a36e592eb033487c028e4f1afcfd3","filename":"github/GitRef.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitRef.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitRef.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitRef.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"31a45edc0d17f80ccc1be8a26e7ba213e1182c54","filename":"github/GitRelease.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitRelease.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitRelease.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitRelease.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2015 Ed Holland #"},{"sha":"7271b55252042ba4d3337da31bedcd35a08671cd","filename":"github/GitReleaseAsset.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitReleaseAsset.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitReleaseAsset.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitReleaseAsset.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Chris McBride #"},{"sha":"eb0bf65d627933bd6131722c2b22b465b8f0c630","filename":"github/GitTag.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitTag.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitTag.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitTag.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"6afc1303a7bfe10f1487dbe39d4e1ae82bd2fdcd","filename":"github/GitTree.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitTree.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitTree.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitTree.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"9da5e0331434adea65ac8761702c547097e03430","filename":"github/GitTreeElement.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitTreeElement.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitTreeElement.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitTreeElement.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"cac31f245ebf4f7ba994cfd46122245b193e4e29","filename":"github/GithubApp.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGithubApp.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGithubApp.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGithubApp.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Raju Subramanian #"},{"sha":"4708047f708151cb6b4fa19681190925db0614ed","filename":"github/GithubException.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGithubException.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGithubException.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGithubException.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"3916153e806c51c6f2105897df8b2aabb66a9b25","filename":"github/GithubObject.py","status":"modified","additions":6,"deletions":11,"changes":17,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGithubObject.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGithubObject.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGithubObject.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -66,7 +64,7 @@ def value(self):\n )\n \n \n-class GithubObject(object):\n+class GithubObject:\n \"\"\"\n Base class for all classes representing objects returned by the API.\n \"\"\"\n@@ -233,13 +231,10 @@ def _makeDictOfStringsToClassesAttribute(self, klass, value):\n for key, element in value.items()\n ):\n return _ValuedAttribute(\n- dict(\n- (\n- key,\n- klass(self._requester, self._headers, element, completed=False),\n- )\n+ {\n+ key: klass(self._requester, self._headers, element, completed=False)\n for key, element in value.items()\n- )\n+ }\n )\n else:\n return _BadAttribute(value, {str: dict})\n@@ -269,8 +264,8 @@ def format_params(params):\n if isinstance(v, bytes):\n v = v.decode(\"utf-8\")\n if isinstance(v, str):\n- v = '\"{v}\"'.format(v=v)\n- yield u\"{k}={v}\".format(k=k, v=v)\n+ v = f'\"{v}\"'\n+ yield f\"{k}={v}\"\n \n return \"{class_name}({params})\".format(\n class_name=self.__class__.__name__,"},{"sha":"147276a997516ac17b5ec84becefb430774f5b2b","filename":"github/GitignoreTemplate.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitignoreTemplate.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FGitignoreTemplate.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FGitignoreTemplate.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"346dc04c82009bf0125a86f003c45815da7fab4a","filename":"github/Hook.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FHook.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FHook.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FHook.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"44ec8af423c65966669e387b3b04ccb9dd854963","filename":"github/HookDescription.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FHookDescription.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FHookDescription.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FHookDescription.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"a491ef30bfa0219c44e16f934a2dd440e7166549","filename":"github/HookResponse.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FHookResponse.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FHookResponse.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FHookResponse.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"3289d18716b0b3a46c7dc08b6b497213672b14a3","filename":"github/InputFileContent.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInputFileContent.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInputFileContent.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FInputFileContent.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -31,7 +29,7 @@\n import github.GithubObject\n \n \n-class InputFileContent(object):\n+class InputFileContent:\n \"\"\"\n This class represents InputFileContents\n \"\"\""},{"sha":"b53fd46d9d55dfdc8d8a53b79fad1e1a153ceb71","filename":"github/InputGitAuthor.py","status":"modified","additions":2,"deletions":4,"changes":6,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInputGitAuthor.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInputGitAuthor.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FInputGitAuthor.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -33,7 +31,7 @@\n import github.GithubObject\n \n \n-class InputGitAuthor(object):\n+class InputGitAuthor:\n \"\"\"\n This class represents InputGitAuthors\n \"\"\"\n@@ -56,7 +54,7 @@ def __init__(self, name, email, date=github.GithubObject.NotSet):\n self.__date = date\n \n def __repr__(self):\n- return 'InputGitAuthor(name=\"{}\")'.format(self.__name)\n+ return f'InputGitAuthor(name=\"{self.__name}\")'\n \n @property\n def _identity(self):"},{"sha":"909250c56c746918b4b5daf2060bfcb2697663f7","filename":"github/InputGitTreeElement.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInputGitTreeElement.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInputGitTreeElement.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FInputGitTreeElement.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -31,7 +29,7 @@\n import github.GithubObject\n \n \n-class InputGitTreeElement(object):\n+class InputGitTreeElement:\n \"\"\"\n This class represents InputGitTreeElements\n \"\"\""},{"sha":"5ec7550304c2ef20c84d0256c892691ea006a206","filename":"github/Installation.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInstallation.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInstallation.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FInstallation.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Jannis Gebauer #"},{"sha":"06c695f9aedb24a5429bf58a88e37ff1a71c68fe","filename":"github/InstallationAuthorization.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInstallationAuthorization.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInstallationAuthorization.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FInstallationAuthorization.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2016 Jannis Gebauer #"},{"sha":"d246dcfb8e1d5aec8c96a9a69afdce430e3f3f6f","filename":"github/Invitation.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInvitation.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FInvitation.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FInvitation.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Jannis Gebauer #"},{"sha":"078f21828c650ca54a5ef12abb4496bfdf66700d","filename":"github/Issue.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssue.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssue.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FIssue.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Andrew Bettison #"},{"sha":"85162b0dfebd0e1ae6768374817f06ed79462779","filename":"github/IssueComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssueComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssueComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FIssueComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"35456e868651fc0a11115e15978cd6f928d3e020","filename":"github/IssueEvent.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssueEvent.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssueEvent.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FIssueEvent.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"b7d73da6f918ecfb6ed7e2b1193c2267962f4e4c","filename":"github/IssuePullRequest.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssuePullRequest.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FIssuePullRequest.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FIssuePullRequest.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"881ce014d0704727ffecb8975ee8fdd22c2f40a6","filename":"github/Label.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FLabel.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FLabel.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FLabel.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"c604037985b92b5d8515c878b4abc9a5ab50b38a","filename":"github/License.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FLicense.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FLicense.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FLicense.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Wan Liuyang #"},{"sha":"ceac54e0f02acd44eac56f1b468c67c8532898d2","filename":"github/MainClass.py","status":"modified","additions":18,"deletions":20,"changes":38,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMainClass.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMainClass.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FMainClass.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 AKFish #\n@@ -90,7 +88,7 @@\n DEFAULT_PER_PAGE = 30\n \n \n-class Github(object):\n+class Github:\n \"\"\"\n This is the main class you instantiate to access the Github API v3. Optional parameters allow different authentication methods.\n \"\"\"\n@@ -339,13 +337,13 @@ def get_repo(self, full_name_or_id, lazy=False):\n \"\"\"\n assert isinstance(full_name_or_id, (str, int)), full_name_or_id\n url_base = \"/repositories/\" if isinstance(full_name_or_id, int) else \"/repos/\"\n- url = \"%s%s\" % (url_base, full_name_or_id)\n+ url = f\"{url_base}{full_name_or_id}\"\n if lazy:\n return Repository.Repository(\n self.__requester, {}, {\"url\": url}, completed=False\n )\n headers, data = self.__requester.requestJsonAndCheck(\n- \"GET\", \"%s%s\" % (url_base, full_name_or_id)\n+ \"GET\", f\"{url_base}{full_name_or_id}\"\n )\n return Repository.Repository(self.__requester, headers, data, completed=True)\n \n@@ -431,7 +429,7 @@ def search_repositories(\n query,\n sort=github.GithubObject.NotSet,\n order=github.GithubObject.NotSet,\n- **qualifiers\n+ **qualifiers,\n ):\n \"\"\"\n :calls: `GET /search/repositories `_\n@@ -459,7 +457,7 @@ def search_repositories(\n query_chunks.append(query)\n \n for qualifier, value in qualifiers.items():\n- query_chunks.append(\"%s:%s\" % (qualifier, value))\n+ query_chunks.append(f\"{qualifier}:{value}\")\n \n url_parameters[\"q\"] = \" \".join(query_chunks)\n assert url_parameters[\"q\"], \"need at least one qualifier\"\n@@ -476,7 +474,7 @@ def search_users(\n query,\n sort=github.GithubObject.NotSet,\n order=github.GithubObject.NotSet,\n- **qualifiers\n+ **qualifiers,\n ):\n \"\"\"\n :calls: `GET /search/users `_\n@@ -500,7 +498,7 @@ def search_users(\n query_chunks.append(query)\n \n for qualifier, value in qualifiers.items():\n- query_chunks.append(\"%s:%s\" % (qualifier, value))\n+ query_chunks.append(f\"{qualifier}:{value}\")\n \n url_parameters[\"q\"] = \" \".join(query_chunks)\n assert url_parameters[\"q\"], \"need at least one qualifier\"\n@@ -517,7 +515,7 @@ def search_issues(\n query,\n sort=github.GithubObject.NotSet,\n order=github.GithubObject.NotSet,\n- **qualifiers\n+ **qualifiers,\n ):\n \"\"\"\n :calls: `GET /search/issues `_\n@@ -541,7 +539,7 @@ def search_issues(\n query_chunks.append(query)\n \n for qualifier, value in qualifiers.items():\n- query_chunks.append(\"%s:%s\" % (qualifier, value))\n+ query_chunks.append(f\"{qualifier}:{value}\")\n \n url_parameters[\"q\"] = \" \".join(query_chunks)\n assert url_parameters[\"q\"], \"need at least one qualifier\"\n@@ -556,7 +554,7 @@ def search_code(\n sort=github.GithubObject.NotSet,\n order=github.GithubObject.NotSet,\n highlight=False,\n- **qualifiers\n+ **qualifiers,\n ):\n \"\"\"\n :calls: `GET /search/code `_\n@@ -585,7 +583,7 @@ def search_code(\n query_chunks.append(query)\n \n for qualifier, value in qualifiers.items():\n- query_chunks.append(\"%s:%s\" % (qualifier, value))\n+ query_chunks.append(f\"{qualifier}:{value}\")\n \n url_parameters[\"q\"] = \" \".join(query_chunks)\n assert url_parameters[\"q\"], \"need at least one qualifier\"\n@@ -605,7 +603,7 @@ def search_commits(\n query,\n sort=github.GithubObject.NotSet,\n order=github.GithubObject.NotSet,\n- **qualifiers\n+ **qualifiers,\n ):\n \"\"\"\n :calls: `GET /search/commits `_\n@@ -633,7 +631,7 @@ def search_commits(\n query_chunks.append(query)\n \n for qualifier, value in qualifiers.items():\n- query_chunks.append(\"%s:%s\" % (qualifier, value))\n+ query_chunks.append(f\"{qualifier}:{value}\")\n \n url_parameters[\"q\"] = \" \".join(query_chunks)\n assert url_parameters[\"q\"], \"need at least one qualifier\"\n@@ -661,7 +659,7 @@ def search_topics(self, query, **qualifiers):\n query_chunks.append(query)\n \n for qualifier, value in qualifiers.items():\n- query_chunks.append(\"%s:%s\" % (qualifier, value))\n+ query_chunks.append(f\"{qualifier}:{value}\")\n \n url_parameters[\"q\"] = \" \".join(query_chunks)\n assert url_parameters[\"q\"], \"need at least one qualifier\"\n@@ -809,7 +807,7 @@ def get_app(self, slug=github.GithubObject.NotSet):\n return GithubApp.GithubApp(self.__requester, headers, data, completed=True)\n \n \n-class GithubIntegration(object):\n+class GithubIntegration:\n \"\"\"\n Main class to obtain tokens for a GitHub integration.\n \"\"\"\n@@ -858,7 +856,7 @@ def get_access_token(self, installation_id, user_id=None):\n self.base_url, installation_id\n ),\n headers={\n- \"Authorization\": \"Bearer {}\".format(self.create_jwt()),\n+ \"Authorization\": f\"Bearer {self.create_jwt()}\",\n \"Accept\": Consts.mediaTypeIntegrationPreview,\n \"User-Agent\": \"PyGithub/Python\",\n },\n@@ -892,13 +890,13 @@ def get_installation(self, owner, repo):\n :rtype: :class:`github.Installation.Installation`\n \"\"\"\n headers = {\n- \"Authorization\": \"Bearer {}\".format(self.create_jwt()),\n+ \"Authorization\": f\"Bearer {self.create_jwt()}\",\n \"Accept\": Consts.mediaTypeIntegrationPreview,\n \"User-Agent\": \"PyGithub/Python\",\n }\n \n response = requests.get(\n- \"{}/repos/{}/{}/installation\".format(self.base_url, owner, repo),\n+ f\"{self.base_url}/repos/{owner}/{repo}/installation\",\n headers=headers,\n )\n response_dict = response.json()"},{"sha":"6eccb3431a1ab4664388f8dca734499a8a8eb5eb","filename":"github/Membership.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMembership.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMembership.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FMembership.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Steve English #"},{"sha":"642de5f7ddbcb9086907042da89b70eee5b186e2","filename":"github/Migration.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMigration.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMigration.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FMigration.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"3f3f9829216bbf3d6bf0b95366dddd1ec9ddc1bd","filename":"github/Milestone.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMilestone.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FMilestone.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FMilestone.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"98e4e29d1b9497117e98ef9dcc0faa8c818d5214","filename":"github/NamedUser.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FNamedUser.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FNamedUser.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FNamedUser.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Steve English #"},{"sha":"7f427c8b384dc3389b4322d7d0f2d5431834be3c","filename":"github/Notification.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FNotification.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FNotification.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FNotification.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 AKFish #"},{"sha":"9be34885156bf63e7b71fb55962c1dd446443da8","filename":"github/NotificationSubject.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FNotificationSubject.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FNotificationSubject.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FNotificationSubject.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 AKFish #"},{"sha":"3354a636b82a5b8d7dc09ed9e4103328bc5180e5","filename":"github/Organization.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FOrganization.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FOrganization.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FOrganization.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Steve English #"},{"sha":"8542e31df48579be5dee928702d9eb96bfe89af6","filename":"github/PaginatedList.py","status":"modified","additions":2,"deletions":6,"changes":8,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPaginatedList.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPaginatedList.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPaginatedList.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -53,12 +51,10 @@ def __getitem__(self, index):\n return self._Slice(self, index)\n \n def __iter__(self):\n- for element in self.__elements:\n- yield element\n+ yield from self.__elements\n while self._couldGrow():\n newElements = self._grow()\n- for element in newElements:\n- yield element\n+ yield from newElements\n \n def _isBiggerThan(self, index):\n return len(self.__elements) > index or self._couldGrow()"},{"sha":"89b9564a85a289881f605ce716a455f5dd1d16e9","filename":"github/Path.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPath.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPath.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPath.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Justin Kufro #"},{"sha":"bd62f0dc92afc74c91ffe01b3769e430738a4000","filename":"github/Permissions.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPermissions.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPermissions.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPermissions.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"6bbbbfe3e8d240a88bc4b54b57a20523efb30ea7","filename":"github/Plan.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPlan.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPlan.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPlan.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"9757f74f742da0387241950a2ecc3f8dd1709a86","filename":"github/Project.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FProject.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FProject.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FProject.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 bbi-yggy #"},{"sha":"97b8561c66dd07b832a865747da464ac6347b100","filename":"github/ProjectCard.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FProjectCard.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FProjectCard.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FProjectCard.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 bbi-yggy #"},{"sha":"21e312e2cc9728e934effd7ec1376fb91009c22f","filename":"github/ProjectColumn.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FProjectColumn.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FProjectColumn.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FProjectColumn.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 bbi-yggy #"},{"sha":"1306f304e12e212ac26ff0827821613fadde74df","filename":"github/PullRequest.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequest.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequest.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPullRequest.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Michael Stead #"},{"sha":"597a85ad4af0180bdf8c8408028225c1c93b1026","filename":"github/PullRequest.pyi","status":"modified","additions":4,"deletions":4,"changes":8,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequest.pyi","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequest.pyi","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPullRequest.pyi?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -61,16 +61,16 @@ class PullRequest(CompletableGithubObject):\n ) -> PullRequestComment: ...\n def create_review_request(\n self,\n- reviewers: Union[_NotSetType, str] = ...,\n- team_reviewers: Union[_NotSetType, str] = ...,\n+ reviewers: Union[_NotSetType, List[str]] = ...,\n+ team_reviewers: Union[_NotSetType, List[str]] = ...,\n ) -> None: ...\n @property\n def created_at(self) -> datetime: ...\n def delete_labels(self) -> None: ...\n def delete_review_request(\n self,\n- reviewers: Union[_NotSetType, str] = ...,\n- team_reviewers: Union[_NotSetType, str] = ...,\n+ reviewers: Union[_NotSetType, List[str]] = ...,\n+ team_reviewers: Union[_NotSetType, List[str]] = ...,\n ) -> None: ...\n @property\n def deletions(self) -> int: ..."},{"sha":"ae2b4b0e3a55ede25f3b8ef430c72882ea224eb4","filename":"github/PullRequestComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPullRequestComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"3ec124e5875baf52a0e72e3c8ce9b42c3d218ecd","filename":"github/PullRequestMergeStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestMergeStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestMergeStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPullRequestMergeStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"94ab3f3770ee3b2a8784931ef8c6efd34c4ceb8e","filename":"github/PullRequestPart.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestPart.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestPart.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPullRequestPart.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"8b217c0df1e1d8840a355a546935e04aa0839ab0","filename":"github/PullRequestReview.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestReview.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FPullRequestReview.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FPullRequestReview.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Aaron Levine #"},{"sha":"70b46769f7949071ede8981f50565d39283a3fc0","filename":"github/Rate.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRate.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRate.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRate.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"b40c47808eeb18b7de463d7db59bed24ce0b8e3c","filename":"github/RateLimit.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRateLimit.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRateLimit.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRateLimit.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"59089a0a6e7948d8c21b5b2d2e6701d26a8c875b","filename":"github/Reaction.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FReaction.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FReaction.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FReaction.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Nicolas Agustín Torres #"},{"sha":"7a0d03c64017a06082bbf0719fe65c20fed2877f","filename":"github/Referrer.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FReferrer.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FReferrer.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FReferrer.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Justin Kufro #"},{"sha":"19f5e945b034bbb1f8162a8a8533f87d152b3505","filename":"github/Repository.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepository.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepository.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRepository.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Christopher Gilbert #"},{"sha":"6476147858965cc86e67753bf261f7ad504695b4","filename":"github/Repository.pyi","status":"modified","additions":4,"deletions":1,"changes":5,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepository.pyi","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepository.pyi","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRepository.pyi?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -259,6 +259,8 @@ class Repository(CompletableGithubObject):\n author: Union[InputGitAuthor, _NotSetType] = ...,\n ) -> Dict[str, Union[Commit, _NotSetType]]: ...\n @property\n+ def delete_branch_on_merge(self) -> bool: ...\n+ @property\n def deployments_url(self) -> str: ...\n @property\n def description(self) -> str: ...\n@@ -331,7 +333,7 @@ class Repository(CompletableGithubObject):\n def get_contributors(\n self, anon: Union[str, _NotSetType] = ...\n ) -> PaginatedList[NamedUser]: ...\n- def get_deployment(self, id_: int) -> Any: ...\n+ def get_deployment(self, id_: int) -> Deployment: ...\n def get_deployments(\n self,\n sha: Union[str, _NotSetType] = ...,\n@@ -351,6 +353,7 @@ class Repository(CompletableGithubObject):\n ) -> Repository: ...\n def get_git_blob(self, sha: str) -> GitBlob: ...\n def get_git_commit(self, sha: str) -> GitCommit: ...\n+ def get_git_matching_refs(self, ref: str) -> PaginatedList[GitRef]: ...\n def get_git_ref(self, ref: str) -> GitRef: ...\n def get_git_refs(self) -> PaginatedList[GitRef]: ...\n def get_git_tag(self, sha: str) -> GitTag: ..."},{"sha":"2ff72e14980bb890bc077df37317eccb28d467cd","filename":"github/RepositoryKey.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepositoryKey.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepositoryKey.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRepositoryKey.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"467264e0d19cca105b8e66d1508ba9dd30e501b6","filename":"github/RepositoryPreferences.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepositoryPreferences.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRepositoryPreferences.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRepositoryPreferences.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Dhruv Manilawala #"},{"sha":"8842e3ed0c86cd3500572436b311fd2aa2230dfa","filename":"github/Requester.py","status":"modified","additions":5,"deletions":7,"changes":12,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRequester.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRequester.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRequester.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Andrew Bettison #\n@@ -81,7 +79,7 @@ def read(self):\n return self.text\n \n \n-class HTTPSRequestsConnectionClass(object):\n+class HTTPSRequestsConnectionClass:\n # mimic the httplib connection object\n def __init__(\n self, host, port=None, strict=False, timeout=None, retry=None, **kwargs\n@@ -106,7 +104,7 @@ def request(self, verb, url, input, headers):\n \n def getresponse(self):\n verb = getattr(self.session, self.verb.lower())\n- url = \"%s://%s:%s%s\" % (self.protocol, self.host, self.port, self.url)\n+ url = f\"{self.protocol}://{self.host}:{self.port}{self.url}\"\n r = verb(\n url,\n headers=self.headers,\n@@ -121,7 +119,7 @@ def close(self):\n return\n \n \n-class HTTPRequestsConnectionClass(object):\n+class HTTPRequestsConnectionClass:\n # mimic the httplib connection object\n def __init__(\n self, host, port=None, strict=False, timeout=None, retry=None, **kwargs\n@@ -146,7 +144,7 @@ def request(self, verb, url, input, headers):\n \n def getresponse(self):\n verb = getattr(self.session, self.verb.lower())\n- url = \"%s://%s:%s%s\" % (self.protocol, self.host, self.port, self.url)\n+ url = f\"{self.protocol}://{self.host}:{self.port}{self.url}\"\n r = verb(\n url,\n headers=self.headers,\n@@ -513,7 +511,7 @@ def __requestRaw(self, cnx, verb, url, requestHeaders, input):\n response = cnx.getresponse()\n \n status = response.status\n- responseHeaders = dict((k.lower(), v) for k, v in response.getheaders())\n+ responseHeaders = {k.lower(): v for k, v in response.getheaders()}\n output = response.read()\n \n cnx.close()"},{"sha":"70ef469a02c74e29ad6d708ed98ed69a51016922","filename":"github/RequiredPullRequestReviews.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRequiredPullRequestReviews.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRequiredPullRequestReviews.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRequiredPullRequestReviews.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"5dc0a4603cacb0b4f7b8ce18e02caea3ed95a62a","filename":"github/RequiredStatusChecks.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRequiredStatusChecks.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FRequiredStatusChecks.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRequiredStatusChecks.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"1d3a434dd27943d5b7ef664778e682ae9bc8c8b3","filename":"github/SelfHostedActionsRunner.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FSelfHostedActionsRunner.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FSelfHostedActionsRunner.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FSelfHostedActionsRunner.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\r\n-\r\n ############################ Copyrights and license ############################\r\n # #\r\n # Copyright 2020 Victor Zeng #\r"},{"sha":"88c32af21e43b486f6d09d8687f58601fda03314","filename":"github/SourceImport.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FSourceImport.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FSourceImport.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FSourceImport.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Hayden Fuss #"},{"sha":"fa50b803f4525cc97c40f67f69608eca9e2d2837","filename":"github/Stargazer.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStargazer.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStargazer.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FStargazer.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2015 Dan Vanderkam #"},{"sha":"eb950b3cd3d427b0517bc9ff2763f0320966a3c5","filename":"github/StatsCodeFrequency.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsCodeFrequency.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsCodeFrequency.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FStatsCodeFrequency.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"712232a5cba436a950390f1a332f135bd391dfaf","filename":"github/StatsCommitActivity.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsCommitActivity.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsCommitActivity.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FStatsCommitActivity.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"e8d16028eb3e9a8a4d76a612f5c4956ecee5ad63","filename":"github/StatsContributor.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsContributor.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsContributor.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FStatsContributor.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"fc41c0f510a95a7fb81c0df16f80186f7e7a4b84","filename":"github/StatsParticipation.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsParticipation.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsParticipation.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FStatsParticipation.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"5aa30163735d1d5ad03233c0f5961e011466f07d","filename":"github/StatsPunchCard.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsPunchCard.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FStatsPunchCard.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FStatsPunchCard.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"591bab2b7420542942c670c038fbbf79cbb955c5","filename":"github/Tag.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTag.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTag.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FTag.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"d2bac9d0c1ec2da86ce9c1414627a3427226db32","filename":"github/Team.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTeam.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTeam.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FTeam.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"62f8c4f4a46f5ebee5b43d5d6f7b73265786a22d","filename":"github/TeamDiscussion.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTeamDiscussion.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTeamDiscussion.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FTeamDiscussion.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Adam Baratz #"},{"sha":"2607da9835b5ed04ffcb1f71f36e26e8ce03fba4","filename":"github/TimelineEvent.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTimelineEvent.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTimelineEvent.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FTimelineEvent.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Nick Campbell #"},{"sha":"cecaa09d7fd984ebd3596530c8229ba47e7b1703","filename":"github/TimelineEventSource.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTimelineEventSource.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTimelineEventSource.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FTimelineEventSource.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Nick Campbell #"},{"sha":"d58837ab741237dc112d8a6bd6c9bf85f3f236ee","filename":"github/Topic.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTopic.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FTopic.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FTopic.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"3ac1dde575737fce45a0e2fc8ff2da87d720b20f","filename":"github/UserKey.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FUserKey.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FUserKey.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FUserKey.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"5f643bcc3dd97e718505e270387a950ce216009e","filename":"github/View.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FView.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FView.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FView.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Justin Kufro #"},{"sha":"d5b7d448ff016bec167d740385f59bcedcba5bce","filename":"github/Workflow.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FWorkflow.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FWorkflow.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FWorkflow.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"3631f6e2dab7a6b8cbf761209817719b16ba86fa","filename":"github/WorkflowRun.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2FWorkflowRun.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2FWorkflowRun.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FWorkflowRun.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"c978fbe999cb9b0073ffebe701d1821e3b608bc1","filename":"github/__init__.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/github%2F__init__.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/github%2F__init__.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2F__init__.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"cac1930fe56305c0913b6f17e1841a0be1d39174","filename":"requirements.txt","status":"modified","additions":2,"deletions":2,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/requirements.txt","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/requirements.txt","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/requirements.txt?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,5 @@\n-requests>=2.14.0,<2.25\n-pyjwt\n+requests>=2.14.0\n+pyjwt<2.0\n sphinx<3\n sphinx-rtd-theme<0.6\n Deprecated"},{"sha":"d8b29be2e07d3e44646e442ea1d60ff161658d0c","filename":"scripts/add_attribute.py","status":"modified","additions":0,"deletions":1,"changes":1,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/scripts%2Fadd_attribute.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/scripts%2Fadd_attribute.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/scripts%2Fadd_attribute.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,4 @@\n #!/usr/bin/env python\n-# -*- coding: utf-8 -*-\n \n ############################ Copyrights and license ############################\n # #"},{"sha":"f7c0fccd1fac061578872af6523b61b7d89d0de0","filename":"scripts/fix_headers.py","status":"modified","additions":0,"deletions":1,"changes":1,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/scripts%2Ffix_headers.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/scripts%2Ffix_headers.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/scripts%2Ffix_headers.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,4 @@\n #!/usr/bin/env python\n-# -*- coding: utf-8 -*-\n \n ############################ Copyrights and license ############################\n # #"},{"sha":"e67d154b15af7bbf362310adc39814e39ff06bc1","filename":"setup.py","status":"modified","additions":4,"deletions":6,"changes":10,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/setup.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/setup.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/setup.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,4 @@\n #!/usr/bin/env python\n-# -*- coding: utf-8 -*-\n \n ############################ Copyrights and license ############################\n # #\n@@ -45,7 +44,7 @@\n \n import setuptools\n \n-version = \"1.54\"\n+version = \"1.54.1\"\n \n \n if __name__ == \"__main__\":\n@@ -92,15 +91,14 @@\n \"Operating System :: OS Independent\",\n \"Programming Language :: Python\",\n \"Programming Language :: Python :: 3\",\n- \"Programming Language :: Python :: 3.5\",\n \"Programming Language :: Python :: 3.6\",\n \"Programming Language :: Python :: 3.7\",\n \"Programming Language :: Python :: 3.8\",\n \"Programming Language :: Python :: 3.9\",\n \"Topic :: Software Development\",\n ],\n- python_requires=\">=3.5\",\n- install_requires=[\"deprecated\", \"pyjwt\", \"requests>=2.14.0,<2.25\"],\n+ python_requires=\">=3.6\",\n+ install_requires=[\"deprecated\", \"pyjwt<2.0\", \"requests>=2.14.0\"],\n extras_require={\"integrations\": [\"cryptography\"]},\n- tests_require=[\"cryptography\", \"httpretty>=0.9.6\"],\n+ tests_require=[\"cryptography\", \"httpretty>=1.0.3\"],\n )"},{"sha":"f87e113a4fa19cb48bc60bc6b56416e5fb72a52e","filename":"test-requirements.txt","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/test-requirements.txt","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/test-requirements.txt","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/test-requirements.txt?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,4 +1,4 @@\n cryptography\n-httpretty>=0.9.6\n+httpretty>=1.0.3\n pytest>=5.3\n pytest-cov>=2.8"},{"sha":"ce374d54ae35693ae76215a7bb98e9274ea18f6f","filename":"tests/ApplicationOAuth.py","status":"modified","additions":4,"deletions":6,"changes":10,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FApplicationOAuth.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FApplicationOAuth.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FApplicationOAuth.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Rigas Papathanasopoulos #\n@@ -37,14 +35,14 @@ def testLoginURL(self):\n sample_uri = \"https://myapp.com/some/path\"\n sample_uri_encoded = \"https%3A%2F%2Fmyapp.com%2Fsome%2Fpath\"\n self.assertEqual(\n- self.app.get_login_url(), \"{}?client_id={}\".format(BASE_URL, self.CLIENT_ID)\n+ self.app.get_login_url(), f\"{BASE_URL}?client_id={self.CLIENT_ID}\"\n )\n self.assertTrue(\n- \"redirect_uri={}\".format(sample_uri_encoded)\n+ f\"redirect_uri={sample_uri_encoded}\"\n in self.app.get_login_url(redirect_uri=sample_uri)\n )\n self.assertTrue(\n- \"client_id={}\".format(self.CLIENT_ID)\n+ f\"client_id={self.CLIENT_ID}\"\n in self.app.get_login_url(redirect_uri=sample_uri)\n )\n self.assertTrue(\n@@ -54,7 +52,7 @@ def testLoginURL(self):\n \"login=user\" in self.app.get_login_url(state=\"123abc\", login=\"user\")\n )\n self.assertTrue(\n- \"client_id={}\".format(self.CLIENT_ID)\n+ f\"client_id={self.CLIENT_ID}\"\n in self.app.get_login_url(state=\"123abc\", login=\"user\")\n )\n "},{"sha":"79e1052807622521ef84537a8eeebc61bb0af30f","filename":"tests/AuthenticatedUser.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FAuthenticatedUser.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FAuthenticatedUser.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FAuthenticatedUser.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"dec6b9f39054471ac51d8ff52887efc294cad575","filename":"tests/Authentication.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FAuthentication.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FAuthentication.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FAuthentication.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"2e05cb7d36c8d2b17f22012b90684c9f2d4e4cff","filename":"tests/Authorization.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FAuthorization.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FAuthorization.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FAuthorization.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"4aba0284765ccf698f217ff24b67a05f34fc3f30","filename":"tests/BadAttributes.py","status":"modified","additions":143,"deletions":145,"changes":288,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FBadAttributes.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FBadAttributes.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FBadAttributes.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #\n@@ -117,149 +115,149 @@ def testIssue195(self):\n hooks,\n lambda h: h.name,\n [\n- u\"activecollab\",\n- u\"acunote\",\n- u\"agilebench\",\n- u\"agilezen\",\n- u\"amazonsns\",\n- u\"apiary\",\n- u\"apoio\",\n- u\"appharbor\",\n- u\"apropos\",\n- u\"asana\",\n- u\"backlog\",\n- u\"bamboo\",\n- u\"basecamp\",\n- u\"bcx\",\n- u\"blimp\",\n- u\"boxcar\",\n- u\"buddycloud\",\n- u\"bugherd\",\n- u\"bugly\",\n- u\"bugzilla\",\n- u\"campfire\",\n- u\"cia\",\n- u\"circleci\",\n- u\"codeclimate\",\n- u\"codeportingcsharp2java\",\n- u\"codeship\",\n- u\"coffeedocinfo\",\n- u\"conductor\",\n- u\"coop\",\n- u\"copperegg\",\n- u\"cube\",\n- u\"depending\",\n- u\"deployhq\",\n- u\"devaria\",\n- u\"docker\",\n- u\"ducksboard\",\n- u\"email\",\n- u\"firebase\",\n- u\"fisheye\",\n- u\"flowdock\",\n- u\"fogbugz\",\n- u\"freckle\",\n- u\"friendfeed\",\n- u\"gemini\",\n- u\"gemnasium\",\n- u\"geocommit\",\n- u\"getlocalization\",\n- u\"gitlive\",\n- u\"grmble\",\n- u\"grouptalent\",\n- u\"grove\",\n- u\"habitualist\",\n- u\"hakiri\",\n- u\"hall\",\n- u\"harvest\",\n- u\"hipchat\",\n- u\"hostedgraphite\",\n- u\"hubcap\",\n- u\"hubci\",\n- u\"humbug\",\n- u\"icescrum\",\n- u\"irc\",\n- u\"irker\",\n- u\"ironmq\",\n- u\"ironworker\",\n- u\"jabber\",\n- u\"jaconda\",\n- u\"jeapie\",\n- u\"jenkins\",\n- u\"jenkinsgit\",\n- u\"jira\",\n- u\"jqueryplugins\",\n- u\"kanbanery\",\n- u\"kickoff\",\n- u\"leanto\",\n- u\"lechat\",\n- u\"lighthouse\",\n- u\"lingohub\",\n- u\"loggly\",\n- u\"mantisbt\",\n- u\"masterbranch\",\n- u\"mqttpub\",\n- u\"nma\",\n- u\"nodejitsu\",\n- u\"notifo\",\n- u\"ontime\",\n- u\"pachube\",\n- u\"packagist\",\n- u\"phraseapp\",\n- u\"pivotaltracker\",\n- u\"planbox\",\n- u\"planio\",\n- u\"prowl\",\n- u\"puppetlinter\",\n- u\"pushalot\",\n- u\"pushover\",\n- u\"pythonpackages\",\n- u\"railsbp\",\n- u\"railsbrakeman\",\n- u\"rally\",\n- u\"rapidpush\",\n- u\"rationaljazzhub\",\n- u\"rationalteamconcert\",\n- u\"rdocinfo\",\n- u\"readthedocs\",\n- u\"redmine\",\n- u\"rubyforge\",\n- u\"scrumdo\",\n- u\"shiningpanda\",\n- u\"sifter\",\n- u\"simperium\",\n- u\"slatebox\",\n- u\"snowyevening\",\n- u\"socialcast\",\n- u\"softlayermessaging\",\n- u\"sourcemint\",\n- u\"splendidbacon\",\n- u\"sprintly\",\n- u\"sqsqueue\",\n- u\"stackmob\",\n- u\"statusnet\",\n- u\"talker\",\n- u\"targetprocess\",\n- u\"tddium\",\n- u\"teamcity\",\n- u\"tender\",\n- u\"tenxer\",\n- u\"testpilot\",\n- u\"toggl\",\n- u\"trac\",\n- u\"trajectory\",\n- u\"travis\",\n- u\"trello\",\n- u\"twilio\",\n- u\"twitter\",\n- u\"unfuddle\",\n- u\"web\",\n- u\"weblate\",\n- u\"webtranslateit\",\n- u\"yammer\",\n- u\"youtrack\",\n- u\"zendesk\",\n- u\"zohoprojects\",\n+ \"activecollab\",\n+ \"acunote\",\n+ \"agilebench\",\n+ \"agilezen\",\n+ \"amazonsns\",\n+ \"apiary\",\n+ \"apoio\",\n+ \"appharbor\",\n+ \"apropos\",\n+ \"asana\",\n+ \"backlog\",\n+ \"bamboo\",\n+ \"basecamp\",\n+ \"bcx\",\n+ \"blimp\",\n+ \"boxcar\",\n+ \"buddycloud\",\n+ \"bugherd\",\n+ \"bugly\",\n+ \"bugzilla\",\n+ \"campfire\",\n+ \"cia\",\n+ \"circleci\",\n+ \"codeclimate\",\n+ \"codeportingcsharp2java\",\n+ \"codeship\",\n+ \"coffeedocinfo\",\n+ \"conductor\",\n+ \"coop\",\n+ \"copperegg\",\n+ \"cube\",\n+ \"depending\",\n+ \"deployhq\",\n+ \"devaria\",\n+ \"docker\",\n+ \"ducksboard\",\n+ \"email\",\n+ \"firebase\",\n+ \"fisheye\",\n+ \"flowdock\",\n+ \"fogbugz\",\n+ \"freckle\",\n+ \"friendfeed\",\n+ \"gemini\",\n+ \"gemnasium\",\n+ \"geocommit\",\n+ \"getlocalization\",\n+ \"gitlive\",\n+ \"grmble\",\n+ \"grouptalent\",\n+ \"grove\",\n+ \"habitualist\",\n+ \"hakiri\",\n+ \"hall\",\n+ \"harvest\",\n+ \"hipchat\",\n+ \"hostedgraphite\",\n+ \"hubcap\",\n+ \"hubci\",\n+ \"humbug\",\n+ \"icescrum\",\n+ \"irc\",\n+ \"irker\",\n+ \"ironmq\",\n+ \"ironworker\",\n+ \"jabber\",\n+ \"jaconda\",\n+ \"jeapie\",\n+ \"jenkins\",\n+ \"jenkinsgit\",\n+ \"jira\",\n+ \"jqueryplugins\",\n+ \"kanbanery\",\n+ \"kickoff\",\n+ \"leanto\",\n+ \"lechat\",\n+ \"lighthouse\",\n+ \"lingohub\",\n+ \"loggly\",\n+ \"mantisbt\",\n+ \"masterbranch\",\n+ \"mqttpub\",\n+ \"nma\",\n+ \"nodejitsu\",\n+ \"notifo\",\n+ \"ontime\",\n+ \"pachube\",\n+ \"packagist\",\n+ \"phraseapp\",\n+ \"pivotaltracker\",\n+ \"planbox\",\n+ \"planio\",\n+ \"prowl\",\n+ \"puppetlinter\",\n+ \"pushalot\",\n+ \"pushover\",\n+ \"pythonpackages\",\n+ \"railsbp\",\n+ \"railsbrakeman\",\n+ \"rally\",\n+ \"rapidpush\",\n+ \"rationaljazzhub\",\n+ \"rationalteamconcert\",\n+ \"rdocinfo\",\n+ \"readthedocs\",\n+ \"redmine\",\n+ \"rubyforge\",\n+ \"scrumdo\",\n+ \"shiningpanda\",\n+ \"sifter\",\n+ \"simperium\",\n+ \"slatebox\",\n+ \"snowyevening\",\n+ \"socialcast\",\n+ \"softlayermessaging\",\n+ \"sourcemint\",\n+ \"splendidbacon\",\n+ \"sprintly\",\n+ \"sqsqueue\",\n+ \"stackmob\",\n+ \"statusnet\",\n+ \"talker\",\n+ \"targetprocess\",\n+ \"tddium\",\n+ \"teamcity\",\n+ \"tender\",\n+ \"tenxer\",\n+ \"testpilot\",\n+ \"toggl\",\n+ \"trac\",\n+ \"trajectory\",\n+ \"travis\",\n+ \"trello\",\n+ \"twilio\",\n+ \"twitter\",\n+ \"unfuddle\",\n+ \"web\",\n+ \"weblate\",\n+ \"webtranslateit\",\n+ \"yammer\",\n+ \"youtrack\",\n+ \"zendesk\",\n+ \"zohoprojects\",\n ],\n )\n for hook in hooks:"},{"sha":"876d50fe8c3ea4749d8f547d06e055200fc5caff","filename":"tests/Branch.py","status":"modified","additions":18,"deletions":20,"changes":38,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FBranch.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FBranch.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FBranch.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -87,10 +85,10 @@ def testEditProtectionDismissalUsersWithUserOwnedBranch(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#update-branch-protection\",\n- u\"message\": u\"Validation Failed\",\n- u\"errors\": [\n- u\"Only organization repositories can have users and team restrictions\"\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#update-branch-protection\",\n+ \"message\": \"Validation Failed\",\n+ \"errors\": [\n+ \"Only organization repositories can have users and team restrictions\"\n ],\n },\n )\n@@ -104,10 +102,10 @@ def testEditProtectionPushRestrictionsWithUserOwnedBranch(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#update-branch-protection\",\n- u\"message\": u\"Validation Failed\",\n- u\"errors\": [\n- u\"Only organization repositories can have users and team restrictions\"\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#update-branch-protection\",\n+ \"message\": \"Validation Failed\",\n+ \"errors\": [\n+ \"Only organization repositories can have users and team restrictions\"\n ],\n },\n )\n@@ -147,8 +145,8 @@ def testRemoveProtection(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#get-branch-protection\",\n- u\"message\": u\"Branch not protected\",\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#get-branch-protection\",\n+ \"message\": \"Branch not protected\",\n },\n )\n \n@@ -166,8 +164,8 @@ def testRemoveRequiredStatusChecks(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch\",\n- u\"message\": u\"Required status checks not enabled\",\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch\",\n+ \"message\": \"Required status checks not enabled\",\n },\n )\n \n@@ -193,8 +191,8 @@ def testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch\",\n- u\"message\": u\"Invalid request.\\n\\n9 must be less than or equal to 6.\",\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch\",\n+ \"message\": \"Invalid request.\\n\\n9 must be less than or equal to 6.\",\n },\n )\n \n@@ -207,8 +205,8 @@ def testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch\",\n- u\"message\": u\"Dismissal restrictions are supported only for repositories owned by an organization.\",\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch\",\n+ \"message\": \"Dismissal restrictions are supported only for repositories owned by an organization.\",\n },\n )\n \n@@ -295,8 +293,8 @@ def testRemovePushRestrictions(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/branches/#list-team-restrictions-of-protected-branch\",\n- u\"message\": u\"Push restrictions not enabled\",\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/branches/#list-team-restrictions-of-protected-branch\",\n+ \"message\": \"Push restrictions not enabled\",\n },\n )\n "},{"sha":"65a75d21e85338d8a7d15688bbeed469eaf1756f","filename":"tests/BranchProtection.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FBranchProtection.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FBranchProtection.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FBranchProtection.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"818371b5ab3f8e3b287e09dda55480a4ad2c83c7","filename":"tests/CheckRun.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCheckRun.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCheckRun.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FCheckRun.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Dhruv Manilawala #"},{"sha":"9dafaeb69d5fbf06172bf06bcc81ff7461e62943","filename":"tests/CheckSuite.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCheckSuite.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCheckSuite.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FCheckSuite.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Raju Subramanian #"},{"sha":"beb3d4885b8abb39b0f533b638e67fb478fac71b","filename":"tests/Commit.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommit.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommit.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FCommit.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"c51588e94135f1015d55dd84828b091e42fa423a","filename":"tests/CommitCombinedStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommitCombinedStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommitCombinedStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FCommitCombinedStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2016 Jannis Gebauer #"},{"sha":"8f1a58fb4178c0de6ac540876cc0da5263168ef2","filename":"tests/CommitComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommitComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommitComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FCommitComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"b94cf424256de155ba8b44a7b5a81a4692cf61de","filename":"tests/CommitStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommitStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FCommitStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FCommitStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"a29eefdcf85e69f11fcd3166e72201316db0cf81","filename":"tests/ConditionalRequestUpdate.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FConditionalRequestUpdate.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FConditionalRequestUpdate.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FConditionalRequestUpdate.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 AKFish #"},{"sha":"a0869d3e4d6a43b07569fd9ff90a898f29e55eb9","filename":"tests/Connection.py","status":"modified","additions":4,"deletions":6,"changes":10,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FConnection.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FConnection.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FConnection.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Adam Baratz #\n@@ -43,16 +41,16 @@\n \"\\nGET\\napi.github.com\\nNone\\n/user\\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\\nNone\\n200\\n[]\\n{\\\"body\\\":\\\"BODY TEXT\\\"}\\n\\n\",\n ),\n (\n- u'{\"body\":\"BODY\\xa0TEXT\"}',\n- u\"\\nGET\\napi.github.com\\nNone\\n/user\\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\\nNone\\n200\\n[]\\n{\\\"body\\\":\\\"BODY\\xa0TEXT\\\"}\\n\\n\",\n+ '{\"body\":\"BODY\\xa0TEXT\"}',\n+ \"\\nGET\\napi.github.com\\nNone\\n/user\\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\\nNone\\n200\\n[]\\n{\\\"body\\\":\\\"BODY\\xa0TEXT\\\"}\\n\\n\",\n ),\n (\n \"BODY TEXT\",\n \"\\nGET\\napi.github.com\\nNone\\n/user\\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\\nNone\\n200\\n[]\\nBODY TEXT\\n\\n\",\n ),\n (\n- u\"BODY\\xa0TEXT\",\n- u\"\\nGET\\napi.github.com\\nNone\\n/user\\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\\nNone\\n200\\n[]\\nBODY\\xa0TEXT\\n\\n\",\n+ \"BODY\\xa0TEXT\",\n+ \"\\nGET\\napi.github.com\\nNone\\n/user\\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\\nNone\\n200\\n[]\\nBODY\\xa0TEXT\\n\\n\",\n ),\n ],\n )"},{"sha":"1b3c61fba810c9f0b791fb2e56bbce50d75052bd","filename":"tests/ContentFile.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FContentFile.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FContentFile.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FContentFile.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"b0c2fbcb4a800e2f5c4dda05415238e5ef7a04f5","filename":"tests/Deployment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FDeployment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FDeployment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FDeployment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"0b4a2266802318f92759749d99340dc208bf09d4","filename":"tests/DeploymentStatus.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FDeploymentStatus.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FDeploymentStatus.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FDeploymentStatus.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Colby Gallup #"},{"sha":"d1c3e752702a9c9441cd67426a28ea3a66b42b38","filename":"tests/Download.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FDownload.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FDownload.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FDownload.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"b0a5ee4d9d4a1cf89daa4b840b4efd2e8d16a7ee","filename":"tests/Enterprise.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FEnterprise.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FEnterprise.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FEnterprise.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"ed2d01b7f8886407ec701fe4485cb3fda4edbb83","filename":"tests/Equality.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FEquality.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FEquality.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FEquality.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"1be98f42d4b631855b3784e2933b529d14d76d49","filename":"tests/Event.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FEvent.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FEvent.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FEvent.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"6b9edc5ee482f23e00e5ef5533584356d942d410","filename":"tests/Exceptions.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FExceptions.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FExceptions.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FExceptions.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"6a8022b582c94f83eb0cd0caa6b8f3b5da630d9a","filename":"tests/ExposeAllAttributes.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FExposeAllAttributes.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FExposeAllAttributes.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FExposeAllAttributes.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"fce12927e86852ac0dc8a6289d5bfdd071d5ba39","filename":"tests/Framework.py","status":"modified","additions":2,"deletions":4,"changes":6,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FFramework.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FFramework.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FFramework.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -132,7 +130,7 @@ def close(self):\n return self.__cnx.close()\n \n def __writeLine(self, line):\n- self.__file.write(str(line) + u\"\\n\")\n+ self.__file.write(str(line) + \"\\n\")\n \n \n class RecordingHttpConnection(RecordingConnection):\n@@ -314,7 +312,7 @@ def __openFile(self, mode):\n if fileName != self.__fileName:\n self.__closeReplayFileIfNeeded()\n self.__fileName = fileName\n- self.__file = io.open(self.__fileName, mode, encoding=\"utf-8\")\n+ self.__file = open(self.__fileName, mode, encoding=\"utf-8\")\n return self.__file\n \n def __closeReplayFileIfNeeded(self):"},{"sha":"a2127d3a07292ce753dac73b27fdb6e9afebbe0e","filename":"tests/Gist.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGist.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGist.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGist.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"0853fc2f6ddcff50e5a9ad667bba9452f4b3b9eb","filename":"tests/GistComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGistComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGistComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGistComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"881378fa7df621a6a891c54291e4df752ee4b1b6","filename":"tests/GitBlob.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitBlob.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitBlob.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitBlob.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"665645374fd9ddc528d2b104b2a26eca927eeb0c","filename":"tests/GitCommit.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitCommit.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitCommit.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitCommit.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"acb8e7cd56054834792baef1809bdc96ce758c0e","filename":"tests/GitMembership.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitMembership.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitMembership.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitMembership.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Steve English #"},{"sha":"726d9cab95a3177ee4c0e21a10817e524220c3cd","filename":"tests/GitRef.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitRef.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitRef.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitRef.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"6e4cc5a8afdfb0d427afc31132c1926cdeb68d94","filename":"tests/GitRelease.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitRelease.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitRelease.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitRelease.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2015 Ed Holland #\n@@ -141,7 +139,7 @@ def testAttributes(self):\n self.assertEqual(release.author.type, \"User\")\n self.assertEqual(\n release.html_url,\n- \"https://github.com/{}/{}/releases/tag/{}\".format(user, repo_name, tag),\n+ f\"https://github.com/{user}/{repo_name}/releases/tag/{tag}\",\n )\n self.assertEqual(release.created_at, create_date)\n self.assertEqual(release.published_at, publish_date)"},{"sha":"d827282fd3385b304b6fa6d9afa1f0659e81f3a8","filename":"tests/GitTag.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitTag.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitTag.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitTag.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"69718f2ed77322800f9982f1572d9b89eab48d0f","filename":"tests/GitTree.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitTree.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGitTree.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGitTree.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"63ea3209955486970f2e64ff248d7acfacc37f7f","filename":"tests/GithubApp.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGithubApp.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGithubApp.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGithubApp.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Raju Subramanian #"},{"sha":"272f50db45fc0011193b978b55cdda588485fdde","filename":"tests/GithubIntegration.py","status":"modified","additions":26,"deletions":26,"changes":52,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGithubIntegration.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGithubIntegration.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGithubIntegration.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -51,7 +51,7 @@ def setUp(self):\n self.origin_time = sys.modules[\"time\"].time\n sys.modules[\"time\"].time = lambda: 1550055331.7435968\n \n- class Mock(object):\n+ class Mock:\n def __init__(self):\n self.args = tuple()\n self.kwargs = dict()\n@@ -66,8 +66,8 @@ def json(self):\n @property\n def text(self):\n return (\n- u'{\"token\": \"v1.ce63424bc55028318325caac4f4c3a5378ca0038\",'\n- u'\"expires_at\": \"2019-02-13T11:10:38Z\"}'\n+ '{\"token\": \"v1.ce63424bc55028318325caac4f4c3a5378ca0038\",'\n+ '\"expires_at\": \"2019-02-13T11:10:38Z\"}'\n )\n \n def __call__(self, *args, **kwargs):\n@@ -79,7 +79,7 @@ def __call__(self, *args, **kwargs):\n self.mock = Mock()\n sys.modules[\"requests\"].post = self.mock\n \n- class GetMock(object):\n+ class GetMock:\n def __init__(self):\n self.args = tuple()\n self.kwargs = dict()\n@@ -95,28 +95,28 @@ def json(self):\n @property\n def text(self):\n return (\n- u'{\"id\":111111,\"account\":{\"login\":\"foo\",\"id\":11111111,'\n- u'\"node_id\":\"foobar\",'\n- u'\"avatar_url\":\"https://avatars3.githubusercontent.com/u/11111111?v=4\",'\n- u'\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/foo\",'\n- u'\"html_url\":\"https://github.com/foo\",'\n- u'\"followers_url\":\"https://api.github.com/users/foo/followers\",'\n- u'\"following_url\":\"https://api.github.com/users/foo/following{/other_user}\",'\n- u'\"gists_url\":\"https://api.github.com/users/foo/gists{/gist_id}\",'\n- u'\"starred_url\":\"https://api.github.com/users/foo/starred{/owner}{/repo}\",'\n- u'\"subscriptions_url\":\"https://api.github.com/users/foo/subscriptions\",'\n- u'\"organizations_url\":\"https://api.github.com/users/foo/orgs\",'\n- u'\"repos_url\":\"https://api.github.com/users/foo/repos\",'\n- u'\"events_url\":\"https://api.github.com/users/foo/events{/privacy}\",'\n- u'\"received_events_url\":\"https://api.github.com/users/foo/received_events\",'\n- u'\"type\":\"Organization\",\"site_admin\":false},\"repository_selection\":\"all\",'\n- u'\"access_tokens_url\":\"https://api.github.com/app/installations/111111/access_tokens\",'\n- u'\"repositories_url\":\"https://api.github.com/installation/repositories\",'\n- u'\"html_url\":\"https://github.com/organizations/foo/settings/installations/111111\",'\n- u'\"app_id\":11111,\"target_id\":11111111,\"target_type\":\"Organization\",'\n- u'\"permissions\":{\"issues\":\"write\",\"pull_requests\":\"write\",\"statuses\":\"write\",\"contents\":\"read\",'\n- u'\"metadata\":\"read\"},\"events\":[\"pull_request\",\"release\"],\"created_at\":\"2019-04-17T16:10:37.000Z\",'\n- u'\"updated_at\":\"2019-05-03T06:27:48.000Z\",\"single_file_name\":null}'\n+ '{\"id\":111111,\"account\":{\"login\":\"foo\",\"id\":11111111,'\n+ '\"node_id\":\"foobar\",'\n+ '\"avatar_url\":\"https://avatars3.githubusercontent.com/u/11111111?v=4\",'\n+ '\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/foo\",'\n+ '\"html_url\":\"https://github.com/foo\",'\n+ '\"followers_url\":\"https://api.github.com/users/foo/followers\",'\n+ '\"following_url\":\"https://api.github.com/users/foo/following{/other_user}\",'\n+ '\"gists_url\":\"https://api.github.com/users/foo/gists{/gist_id}\",'\n+ '\"starred_url\":\"https://api.github.com/users/foo/starred{/owner}{/repo}\",'\n+ '\"subscriptions_url\":\"https://api.github.com/users/foo/subscriptions\",'\n+ '\"organizations_url\":\"https://api.github.com/users/foo/orgs\",'\n+ '\"repos_url\":\"https://api.github.com/users/foo/repos\",'\n+ '\"events_url\":\"https://api.github.com/users/foo/events{/privacy}\",'\n+ '\"received_events_url\":\"https://api.github.com/users/foo/received_events\",'\n+ '\"type\":\"Organization\",\"site_admin\":false},\"repository_selection\":\"all\",'\n+ '\"access_tokens_url\":\"https://api.github.com/app/installations/111111/access_tokens\",'\n+ '\"repositories_url\":\"https://api.github.com/installation/repositories\",'\n+ '\"html_url\":\"https://github.com/organizations/foo/settings/installations/111111\",'\n+ '\"app_id\":11111,\"target_id\":11111111,\"target_type\":\"Organization\",'\n+ '\"permissions\":{\"issues\":\"write\",\"pull_requests\":\"write\",\"statuses\":\"write\",\"contents\":\"read\",'\n+ '\"metadata\":\"read\"},\"events\":[\"pull_request\",\"release\"],\"created_at\":\"2019-04-17T16:10:37.000Z\",'\n+ '\"updated_at\":\"2019-05-03T06:27:48.000Z\",\"single_file_name\":null}'\n )\n \n def __call__(self, *args, **kwargs):"},{"sha":"3e7027518c115761e9207dafa316ce1b2c7b68bc","filename":"tests/Github_.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGithub_.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FGithub_.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FGithub_.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"86c0257ae135e52ba4372f95077301f16d84a63d","filename":"tests/Hook.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FHook.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FHook.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FHook.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"bb2014b33325a5ff32889967f5811519ebcfa712","filename":"tests/Issue.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"6a4046aa4ffd6b51841f6a996ff45430c5a1fc5e","filename":"tests/Issue131.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue131.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue131.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue131.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"78a24452cf7eaee05881c14f4c499cdf7a29baed","filename":"tests/Issue133.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue133.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue133.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue133.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"13d971c26391346dc77bee50d471fcf8aea8d73b","filename":"tests/Issue134.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue134.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue134.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue134.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"bcc44da7bc3955ab5ead5974714787ecc504a613","filename":"tests/Issue139.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue139.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue139.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue139.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"e5433f4339514de4a25a1516b0e6da58ed6143e1","filename":"tests/Issue140.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue140.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue140.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue140.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"4f5f8fb244fa258f7c65a046c1812967fbf3e654","filename":"tests/Issue142.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue142.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue142.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue142.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"dfe55a44fa37ef82a051c70d71d9a6a37729e750","filename":"tests/Issue158.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue158.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue158.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue158.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"11b57c996ea1a46d149a9eca7b6eb9de5286f5fb","filename":"tests/Issue174.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue174.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue174.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue174.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"9aea863e1e68e1b683b1167f7af70d23be8a7698","filename":"tests/Issue214.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue214.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue214.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue214.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 David Farr #"},{"sha":"988467167f4739f70bb90f14bfc03d1c776ebf8b","filename":"tests/Issue216.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue216.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue216.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue216.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"6b46c2c71f328e160d535f513f415340f9c80c4f","filename":"tests/Issue278.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue278.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue278.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue278.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2014 Vincent Jacques #"},{"sha":"a260fe521bb1b80be5e4ee8877e3f1f67340e3dd","filename":"tests/Issue33.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue33.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue33.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue33.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"105351074187707d09ad4da0d7c6acdcad5bbe39","filename":"tests/Issue494.py","status":"modified","additions":2,"deletions":4,"changes":6,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue494.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue494.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue494.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2016 Sam Corbett #\n@@ -34,7 +32,7 @@ def setUp(self):\n \n def testRepr(self):\n expected = (\n- u'PullRequest(title=\"Change SetHostnameCustomizer to check if '\n- u'/etc/sysconfig/network exist…\", number=465)'\n+ 'PullRequest(title=\"Change SetHostnameCustomizer to check if '\n+ '/etc/sysconfig/network exist…\", number=465)'\n )\n self.assertEqual(self.pull.__repr__(), expected)"},{"sha":"81c7dd6f53b588772f4bd0b87a12d4cb49653c70","filename":"tests/Issue50.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue50.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue50.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue50.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"d93ca051a950887e12c2d0703174c2335e48dd1b","filename":"tests/Issue54.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue54.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue54.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue54.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f30a738c014c204ca6fce1374a5552b66eb80c6e","filename":"tests/Issue572.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue572.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue572.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue572.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Shinichi TAMURA #"},{"sha":"11fcd49f034a24c83bfa7599dfcd15da679e725c","filename":"tests/Issue80.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue80.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue80.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue80.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"5f31412be0e1c36fa315755a3b9a8f3491e78376","filename":"tests/Issue823.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue823.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue823.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue823.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"d78e755dc9eb828ba1b8d118a23781804daa4964","filename":"tests/Issue87.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue87.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue87.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue87.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"a08e0c9dd2c5fcb4cc9c31d6540d88972095e2d5","filename":"tests/Issue937.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue937.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue937.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue937.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Vinay Hegde #"},{"sha":"59f812b656cc41437522df6ea411b06bd368746b","filename":"tests/Issue945.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue945.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssue945.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssue945.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Kelvin Wong (https://github.com/netsgnut) #"},{"sha":"f517a712edbb4da23fc2339586596e72eaf854ac","filename":"tests/IssueComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssueComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssueComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssueComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"837d7bb00cd21f352e43d0e7fc018e6fb6144d8a","filename":"tests/IssueEvent.py","status":"modified","additions":5,"deletions":7,"changes":12,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssueEvent.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FIssueEvent.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FIssueEvent.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -420,8 +418,8 @@ def testEvent_renamed_Attributes(self):\n self.assertEqual(\n self.event_renamed.rename,\n {\n- u\"to\": u\"Adding new attributes to IssueEvent\",\n- u\"from\": u\"Adding new attributes to IssueEvent Object (DO NOT MERGE - SEE NOTES)\",\n+ \"to\": \"Adding new attributes to IssueEvent\",\n+ \"from\": \"Adding new attributes to IssueEvent Object (DO NOT MERGE - SEE NOTES)\",\n },\n )\n self.assertEqual(self.event_renamed.dismissed_review, None)\n@@ -663,9 +661,9 @@ def testEvent_review_dismissed_Attributes(self):\n self.assertEqual(\n self.event_review_dismissed.dismissed_review,\n {\n- u\"dismissal_message\": u\"dismiss\",\n- u\"state\": u\"changes_requested\",\n- u\"review_id\": 145431295,\n+ \"dismissal_message\": \"dismiss\",\n+ \"state\": \"changes_requested\",\n+ \"review_id\": 145431295,\n },\n )\n self.assertEqual(self.event_review_dismissed.lock_reason, None)"},{"sha":"1006554425bd118f8fb263a950fa8e3f712c0d47","filename":"tests/Label.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FLabel.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FLabel.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FLabel.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"57a956c69cd305e83006f7bd92adcd592e87577a","filename":"tests/License.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FLicense.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FLicense.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FLicense.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Wan Liuyang #"},{"sha":"3f277f618e36eed68bebae6ae8154a75bbef1ee0","filename":"tests/Logging_.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FLogging_.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FLogging_.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FLogging_.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -62,7 +60,7 @@ def debug(\n output,\n ):\n self.verb = verb\n- self.url = \"%s://%s%s\" % (scheme, hostname, fragment)\n+ self.url = f\"{scheme}://{hostname}{fragment}\"\n self.requestHeaders = requestHeaders\n self.input = input_\n self.status = status"},{"sha":"bc19651f45f777ab44b63f9bcea1538ed8dbd367","filename":"tests/Markdown.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FMarkdown.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FMarkdown.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FMarkdown.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f503a6d275c244fe81dab39c63d8e6d9ab970bd8","filename":"tests/Migration.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FMigration.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FMigration.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FMigration.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"82da26894cacdee6beaea46cf151c0fed1ea9a25","filename":"tests/Milestone.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FMilestone.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FMilestone.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FMilestone.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"42dba7bcc3a664666e86de3e9bef6022ad1db137","filename":"tests/NamedUser.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FNamedUser.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FNamedUser.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FNamedUser.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"bd7804dcfc555efb945760f0e236b2638423f986","filename":"tests/NamedUser1430.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FNamedUser1430.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FNamedUser1430.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FNamedUser1430.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Anuj Bansal #"},{"sha":"44f937f2335c0cfd2b8c8f99ff7544f9e099c9f5","filename":"tests/Notification.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FNotification.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FNotification.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FNotification.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"de59a52383750e66175c213e542a7aa8fbea711f","filename":"tests/Organization.py","status":"modified","additions":2,"deletions":4,"changes":6,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FOrganization.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FOrganization.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FOrganization.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -389,8 +387,8 @@ def testInviteUserAsNonOwner(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/orgs/members/#create-organization-invitation\",\n- u\"message\": u\"You must be an admin to create an invitation to an organization.\",\n+ \"documentation_url\": \"https://developer.github.com/v3/orgs/members/#create-organization-invitation\",\n+ \"message\": \"You must be an admin to create an invitation to an organization.\",\n },\n )\n "},{"sha":"55bea2436e4b3e2a53950c0ed7263ffe4e9c00b4","filename":"tests/Organization1437.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FOrganization1437.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FOrganization1437.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FOrganization1437.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Anuj Bansal #"},{"sha":"5977198f413ead1f4cba0c76cbf428702c16f67a","filename":"tests/OrganizationHasInMembers.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FOrganizationHasInMembers.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FOrganizationHasInMembers.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FOrganizationHasInMembers.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2016 Matthew Neal #"},{"sha":"ae06e90257846a448d228f98660a6a5f5e291b38","filename":"tests/PaginatedList.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPaginatedList.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPaginatedList.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPaginatedList.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"e5e45ae35d033ca0623c38f1062193cc214b20d8","filename":"tests/Persistence.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPersistence.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPersistence.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPersistence.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"489e0846fe7fe45a2e387d0886a20f53b309c1c6","filename":"tests/Project.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FProject.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FProject.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FProject.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n # ########################## Copyrights and license ############################\n # #\n # Copyright 2018 bbi-yggy #"},{"sha":"63ba64e1f02c2c0e6c2998b992841948be6a30d3","filename":"tests/Project1434.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FProject1434.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FProject1434.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FProject1434.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n # ########################## Copyrights and license ############################\n # #\n # Copyright 2020 Anuj Bansal #"},{"sha":"7df02fa58a5cad870c959a9244844ef128281d52","filename":"tests/ProjectColumn.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FProjectColumn.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FProjectColumn.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FProjectColumn.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n # ########################## Copyrights and license ############################\n # #\n # This file is part of PyGithub. #"},{"sha":"a52dd3ca526d18b606ce2853d73a4f29d54f18be","filename":"tests/PullRequest.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequest.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"3570500567dee9a96a819028731a33b63d12d7be","filename":"tests/PullRequest1168.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1168.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1168.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequest1168.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Olof-Joachim Frahm #"},{"sha":"dd7730d38cc7680148142c6126d2dabe2af2b5b0","filename":"tests/PullRequest1169.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1169.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1169.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequest1169.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Olof-Joachim Frahm #"},{"sha":"21a698368d0a49174e5e311da4b4a983bfcac5f0","filename":"tests/PullRequest1375.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1375.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1375.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequest1375.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Olof-Joachim Frahm #"},{"sha":"29006b8c4dbdca6ae7de5b53ed00de68eed2e9d7","filename":"tests/PullRequest1682.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1682.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequest1682.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequest1682.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\r\n-\r\n ############################ Copyrights and license ############################\r\n # #\r\n # Copyright 2020 Victor Zeng #\r"},{"sha":"2c9bb454061201e18d28a0f840533c17fa2f70d8","filename":"tests/PullRequestComment.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequestComment.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequestComment.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequestComment.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"025af8dbc5a88c682a4bfd5132cae6fc824dfa10","filename":"tests/PullRequestFile.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequestFile.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequestFile.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequestFile.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"a2e317cc462a0d3277607ffd0a8337fcf576fcc6","filename":"tests/PullRequestReview.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequestReview.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FPullRequestReview.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FPullRequestReview.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Aaron Levine #"},{"sha":"d8bd7a3b4ed1a87993cd6ff24ac36e1b3f4a9ab9","filename":"tests/RateLimiting.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRateLimiting.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRateLimiting.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRateLimiting.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"963231b1fd0f37132fe7768db1ec47dad360b502","filename":"tests/RawData.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRawData.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRawData.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRawData.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2013 Vincent Jacques #"},{"sha":"a9aa619a04c960ac6fa9eaf0e906eeb9a1c6b790","filename":"tests/Reaction.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FReaction.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FReaction.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FReaction.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Nicolas Agustín Torres #"},{"sha":"d0b8af387482b241940e6fcfcf4b0b1089c6bc1a","filename":"tests/ReleaseAsset.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FReleaseAsset.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FReleaseAsset.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FReleaseAsset.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2017 Chris McBride #"},{"sha":"88e6aa8d43fe4d51e18c48e809275933451cf9da","filename":"tests/Repository.py","status":"modified","additions":11,"deletions":13,"changes":24,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRepository.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRepository.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRepository.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #\n@@ -473,8 +471,8 @@ def testCollaboratorPermissionNoPushAccess(self):\n self.assertEqual(\n raisedexp.exception.data,\n {\n- u\"documentation_url\": u\"https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level\",\n- u\"message\": u\"Must have push access to view collaborator permission.\",\n+ \"documentation_url\": \"https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level\",\n+ \"message\": \"Must have push access to view collaborator permission.\",\n },\n )\n \n@@ -1094,12 +1092,12 @@ def testGetStargazersWithDates(self):\n stargazers,\n lambda stargazer: (stargazer.starred_at, stargazer.user.login),\n [\n- (datetime.datetime(2014, 8, 13, 19, 22, 5), u\"sAlexander\"),\n- (datetime.datetime(2014, 10, 15, 5, 2, 30), u\"ThomasG77\"),\n- (datetime.datetime(2015, 4, 14, 15, 22, 40), u\"therusek\"),\n- (datetime.datetime(2015, 4, 29, 0, 9, 40), u\"athomann\"),\n- (datetime.datetime(2015, 4, 29, 14, 26, 46), u\"jcapron\"),\n- (datetime.datetime(2015, 5, 9, 19, 14, 45), u\"JoePython1\"),\n+ (datetime.datetime(2014, 8, 13, 19, 22, 5), \"sAlexander\"),\n+ (datetime.datetime(2014, 10, 15, 5, 2, 30), \"ThomasG77\"),\n+ (datetime.datetime(2015, 4, 14, 15, 22, 40), \"therusek\"),\n+ (datetime.datetime(2015, 4, 29, 0, 9, 40), \"athomann\"),\n+ (datetime.datetime(2015, 4, 29, 14, 26, 46), \"jcapron\"),\n+ (datetime.datetime(2015, 5, 9, 19, 14, 45), \"JoePython1\"),\n ],\n )\n self.assertEqual(repr(stargazers[0]), 'Stargazer(user=\"sAlexander\")')\n@@ -1248,7 +1246,7 @@ def testGetDeployments(self):\n \n def testCreateFile(self):\n newFile = \"doc/testCreateUpdateDeleteFile.md\"\n- content = \"Hello world\".encode()\n+ content = b\"Hello world\"\n author = github.InputGitAuthor(\n \"Enix Yu\", \"enix223@163.com\", \"2016-01-15T16:13:30+12:00\"\n )\n@@ -1666,7 +1664,7 @@ def testGetLicense(self):\n \n def testGetTopics(self):\n topic_list = self.repo.get_topics()\n- topic = u\"github\"\n+ topic = \"github\"\n self.assertIn(topic, topic_list)\n \n def testReplaceTopics(self):\n@@ -1691,7 +1689,7 @@ class LazyRepository(Framework.TestCase):\n def setUp(self):\n super().setUp()\n self.user = self.g.get_user()\n- self.repository_name = \"%s/%s\" % (self.user.login, \"PyGithub\")\n+ self.repository_name = \"{}/{}\".format(self.user.login, \"PyGithub\")\n \n def getLazyRepository(self):\n return self.g.get_repo(self.repository_name, lazy=True)"},{"sha":"4e290ab5d901a44e6dfead8253d02aeb871376ed","filename":"tests/RepositoryKey.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRepositoryKey.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRepositoryKey.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRepositoryKey.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"f1c3d2d0af1f013b265408aed52ed8ecd1ec81dd","filename":"tests/RequiredPullRequestReviews.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRequiredPullRequestReviews.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRequiredPullRequestReviews.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRequiredPullRequestReviews.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"882c57c55a0fb838921448798c49261b42d5c118","filename":"tests/RequiredStatusChecks.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRequiredStatusChecks.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRequiredStatusChecks.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRequiredStatusChecks.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Steve Kowalik #"},{"sha":"940d405848b2609feee66e507956aa828120d423","filename":"tests/Retry.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRetry.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FRetry.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FRetry.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Justin Kufro #"},{"sha":"f7e2ffe175a990f0d5b6c24981c10e6993c5bcbf","filename":"tests/Search.py","status":"modified","additions":115,"deletions":117,"changes":232,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FSearch.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FSearch.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FSearch.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2014 Vincent Jacques #\n@@ -43,41 +41,41 @@ def testPaginateSearchUsers(self):\n users,\n lambda u: u.login,\n [\n- u\"cloudhead\",\n- u\"felixge\",\n- u\"sferik\",\n- u\"rkh\",\n- u\"jezdez\",\n- u\"janl\",\n- u\"marijnh\",\n- u\"nikic\",\n- u\"igorw\",\n- u\"froschi\",\n- u\"svenfuchs\",\n- u\"omz\",\n- u\"chad\",\n- u\"bergie\",\n- u\"roidrage\",\n- u\"pcalcado\",\n- u\"durran\",\n- u\"hukl\",\n- u\"mttkay\",\n- u\"aFarkas\",\n- u\"ole\",\n- u\"hagenburger\",\n- u\"jberkel\",\n- u\"naderman\",\n- u\"joshk\",\n- u\"pudo\",\n- u\"robb\",\n- u\"josephwilk\",\n- u\"hanshuebner\",\n- u\"txus\",\n- u\"paulasmuth\",\n- u\"splitbrain\",\n- u\"langalex\",\n- u\"bendiken\",\n- u\"stefanw\",\n+ \"cloudhead\",\n+ \"felixge\",\n+ \"sferik\",\n+ \"rkh\",\n+ \"jezdez\",\n+ \"janl\",\n+ \"marijnh\",\n+ \"nikic\",\n+ \"igorw\",\n+ \"froschi\",\n+ \"svenfuchs\",\n+ \"omz\",\n+ \"chad\",\n+ \"bergie\",\n+ \"roidrage\",\n+ \"pcalcado\",\n+ \"durran\",\n+ \"hukl\",\n+ \"mttkay\",\n+ \"aFarkas\",\n+ \"ole\",\n+ \"hagenburger\",\n+ \"jberkel\",\n+ \"naderman\",\n+ \"joshk\",\n+ \"pudo\",\n+ \"robb\",\n+ \"josephwilk\",\n+ \"hanshuebner\",\n+ \"txus\",\n+ \"paulasmuth\",\n+ \"splitbrain\",\n+ \"langalex\",\n+ \"bendiken\",\n+ \"stefanw\",\n ],\n )\n self.assertEqual(users.totalCount, 6038)\n@@ -87,36 +85,36 @@ def testGetPageOnSearchUsers(self):\n self.assertEqual(\n [u.login for u in users.get_page(7)],\n [\n- u\"ursachec\",\n- u\"bitboxer\",\n- u\"fs111\",\n- u\"michenriksen\",\n- u\"witsch\",\n- u\"booo\",\n- u\"mortice\",\n- u\"r0man\",\n- u\"MikeBild\",\n- u\"mhagger\",\n- u\"bkw\",\n- u\"fwbrasil\",\n- u\"mschneider\",\n- u\"lydiapintscher\",\n- u\"asksven\",\n- u\"iamtimm\",\n- u\"sneak\",\n- u\"kr1sp1n\",\n- u\"Feh\",\n- u\"GordonLesti\",\n- u\"annismckenzie\",\n- u\"eskimoblood\",\n- u\"tsujigiri\",\n- u\"riethmayer\",\n- u\"lauritzthamsen\",\n- u\"scotchi\",\n- u\"peritor\",\n- u\"toto\",\n- u\"hwaxxer\",\n- u\"lukaszklis\",\n+ \"ursachec\",\n+ \"bitboxer\",\n+ \"fs111\",\n+ \"michenriksen\",\n+ \"witsch\",\n+ \"booo\",\n+ \"mortice\",\n+ \"r0man\",\n+ \"MikeBild\",\n+ \"mhagger\",\n+ \"bkw\",\n+ \"fwbrasil\",\n+ \"mschneider\",\n+ \"lydiapintscher\",\n+ \"asksven\",\n+ \"iamtimm\",\n+ \"sneak\",\n+ \"kr1sp1n\",\n+ \"Feh\",\n+ \"GordonLesti\",\n+ \"annismckenzie\",\n+ \"eskimoblood\",\n+ \"tsujigiri\",\n+ \"riethmayer\",\n+ \"lauritzthamsen\",\n+ \"scotchi\",\n+ \"peritor\",\n+ \"toto\",\n+ \"hwaxxer\",\n+ \"lukaszklis\",\n ],\n )\n \n@@ -128,41 +126,41 @@ def testSearchRepos(self):\n repos,\n lambda r: r.full_name,\n [\n- u\"kennethreitz/legit\",\n- u\"RuudBurger/CouchPotatoV1\",\n- u\"gelstudios/gitfiti\",\n- u\"gpjt/webgl-lessons\",\n- u\"jacquev6/PyGithub\",\n- u\"aaasen/github_globe\",\n- u\"hmason/gitmarks\",\n- u\"dnerdy/factory_boy\",\n- u\"binaryage/drydrop\",\n- u\"bgreenlee/sublime-github\",\n- u\"karan/HackerNewsAPI\",\n- u\"mfenniak/pyPdf\",\n- u\"skazhy/github-decorator\",\n- u\"llvmpy/llvmpy\",\n- u\"lexrupy/gmate\",\n- u\"ask/python-github2\",\n- u\"audreyr/cookiecutter-pypackage\",\n- u\"tabo/django-treebeard\",\n- u\"dbr/tvdb_api\",\n- u\"jchris/couchapp\",\n- u\"joeyespo/grip\",\n- u\"nigelsmall/py2neo\",\n- u\"ask/chishop\",\n- u\"sigmavirus24/github3.py\",\n- u\"jsmits/github-cli\",\n- u\"lincolnloop/django-layout\",\n- u\"amccloud/django-project-skel\",\n- u\"Stiivi/brewery\",\n- u\"webpy/webpy.github.com\",\n- u\"dustin/py-github\",\n- u\"logsol/Github-Auto-Deploy\",\n- u\"cloudkick/libcloud\",\n- u\"berkerpeksag/github-badge\",\n- u\"bitprophet/ssh\",\n- u\"azavea/OpenTreeMap\",\n+ \"kennethreitz/legit\",\n+ \"RuudBurger/CouchPotatoV1\",\n+ \"gelstudios/gitfiti\",\n+ \"gpjt/webgl-lessons\",\n+ \"jacquev6/PyGithub\",\n+ \"aaasen/github_globe\",\n+ \"hmason/gitmarks\",\n+ \"dnerdy/factory_boy\",\n+ \"binaryage/drydrop\",\n+ \"bgreenlee/sublime-github\",\n+ \"karan/HackerNewsAPI\",\n+ \"mfenniak/pyPdf\",\n+ \"skazhy/github-decorator\",\n+ \"llvmpy/llvmpy\",\n+ \"lexrupy/gmate\",\n+ \"ask/python-github2\",\n+ \"audreyr/cookiecutter-pypackage\",\n+ \"tabo/django-treebeard\",\n+ \"dbr/tvdb_api\",\n+ \"jchris/couchapp\",\n+ \"joeyespo/grip\",\n+ \"nigelsmall/py2neo\",\n+ \"ask/chishop\",\n+ \"sigmavirus24/github3.py\",\n+ \"jsmits/github-cli\",\n+ \"lincolnloop/django-layout\",\n+ \"amccloud/django-project-skel\",\n+ \"Stiivi/brewery\",\n+ \"webpy/webpy.github.com\",\n+ \"dustin/py-github\",\n+ \"logsol/Github-Auto-Deploy\",\n+ \"cloudkick/libcloud\",\n+ \"berkerpeksag/github-badge\",\n+ \"bitprophet/ssh\",\n+ \"azavea/OpenTreeMap\",\n ],\n )\n \n@@ -202,7 +200,7 @@ def testSearchTopics(self):\n self.assertListKeyBegin(\n topics,\n lambda r: r.name,\n- [u\"python\", u\"django\", u\"flask\", u\"ruby\", u\"scikit-learn\", u\"wagtail\"],\n+ [\"python\", \"django\", \"flask\", \"ruby\", \"scikit-learn\", \"wagtail\"],\n )\n \n def testPaginateSearchTopics(self):\n@@ -215,20 +213,20 @@ def testSearchCode(self):\n files,\n lambda f: f.name,\n [\n- u\"Commit.setUp.txt\",\n- u\"PullRequest.testGetFiles.txt\",\n- u\"NamedUser.testGetEvents.txt\",\n- u\"PullRequest.testCreateComment.txt\",\n- u\"PullRequestFile.setUp.txt\",\n- u\"Repository.testGetIssuesWithWildcards.txt\",\n- u\"Repository.testGetIssuesWithArguments.txt\",\n- u\"test_ebnf.cpp\",\n- u\"test_abnf.cpp\",\n- u\"PullRequestFile.py\",\n- u\"SystemCalls.py\",\n- u\"tests.py\",\n- u\"LexerTestCase.py\",\n- u\"ParserTestCase.py\",\n+ \"Commit.setUp.txt\",\n+ \"PullRequest.testGetFiles.txt\",\n+ \"NamedUser.testGetEvents.txt\",\n+ \"PullRequest.testCreateComment.txt\",\n+ \"PullRequestFile.setUp.txt\",\n+ \"Repository.testGetIssuesWithWildcards.txt\",\n+ \"Repository.testGetIssuesWithArguments.txt\",\n+ \"test_ebnf.cpp\",\n+ \"test_abnf.cpp\",\n+ \"PullRequestFile.py\",\n+ \"SystemCalls.py\",\n+ \"tests.py\",\n+ \"LexerTestCase.py\",\n+ \"ParserTestCase.py\",\n ],\n )\n self.assertEqual(files[0].repository.full_name, \"jacquev6/PyGithub\")"},{"sha":"f464d8c7756b3f15006b06a97a5554689531a010","filename":"tests/SelfHostedActionsRunner.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FSelfHostedActionsRunner.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FSelfHostedActionsRunner.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FSelfHostedActionsRunner.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\r\n-\r\n ############################ Copyrights and license ############################\r\n # #\r\n # Copyright 2020 Victor Zeng #\r"},{"sha":"4d97ac970a00ea1787d9dc65ca023be16e892ef6","filename":"tests/SourceImport.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FSourceImport.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FSourceImport.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FSourceImport.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Hayden Fuss #"},{"sha":"270e2d88a14564f6097283c84b8dbf1e792ac5fb","filename":"tests/Tag.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTag.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTag.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FTag.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"c2d9d46bff5d68844afd16b5b56030afa4b49a75","filename":"tests/Team.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTeam.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTeam.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FTeam.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"8bdfeaaf037cdf07efa1b24b42e7a36410ab969d","filename":"tests/Topic.py","status":"modified","additions":1,"deletions":3,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTopic.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTopic.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FTopic.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2019 Adam Baratz #\n@@ -55,7 +53,7 @@ def testAllFields(self):\n self.assertEqual(topic.curated, True)\n self.assertEqual(topic.score, 7576.306)\n \n- self.assertEqual(topic.__repr__(), u'Topic(name=\"python\")')\n+ self.assertEqual(topic.__repr__(), 'Topic(name=\"python\")')\n \n def testNamesFromSearchResults(self):\n expected_names = ["},{"sha":"7dfe6dcc7421df0b3a81f06d31b220d6557a8baf","filename":"tests/Traffic.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTraffic.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FTraffic.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FTraffic.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2018 Justin Kufro #"},{"sha":"36cf3d18b5e94b885a11188b72d848bd8d777015","filename":"tests/UserKey.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FUserKey.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FUserKey.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FUserKey.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"4f8ead191a6a86df5b821880cbfabc6be99de8fa","filename":"tests/Workflow.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FWorkflow.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FWorkflow.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FWorkflow.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"02054bd707942c4f02705bc83c87769e1003390b","filename":"tests/WorkflowRun.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FWorkflowRun.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2FWorkflowRun.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FWorkflowRun.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"6b87e3610b80eb24a45d4bd453c42c9937d8ae7d","filename":"tests/__init__.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2F__init__.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2F__init__.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2F__init__.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2012 Vincent Jacques #"},{"sha":"2d5c77f33a288f18a9b73114572de1c5c3b9ec94","filename":"tests/conftest.py","status":"modified","additions":0,"deletions":2,"changes":2,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tests%2Fconftest.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tests%2Fconftest.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2Fconftest.py?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,5 +1,3 @@\n-# -*- coding: utf-8 -*-\n-\n ############################ Copyrights and license ############################\n # #\n # Copyright 2020 Steve Kowalik #"},{"sha":"a7e67b244bb63cbaec0df7e66aa79d53924d153f","filename":"tox.ini","status":"modified","additions":1,"deletions":2,"changes":3,"blob_url":"https://github.com/PyGithub/PyGithub/blob/34d097ce473601624722b90fc5d0396011dd3acb/tox.ini","raw_url":"https://github.com/PyGithub/PyGithub/raw/34d097ce473601624722b90fc5d0396011dd3acb/tox.ini","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tox.ini?ref=34d097ce473601624722b90fc5d0396011dd3acb","patch":"@@ -1,12 +1,11 @@\n [tox]\n envlist =\n lint,\n- py{35,36,37,38,39},\n+ py{36,37,38,39},\n docs\n \n [gh-actions]\n python =\n- 3.5: py35\n 3.6: py36, docs, lint\n 3.7: py37\n 3.8: py38"}]} + +https +GET +api.github.com +None +/repositories/3544490/compare/v1.54...v1.54.1?page=2&per_page=4 +{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'} +None +200 +[('Server', 'GitHub.com'), ('Date', 'Wed, 24 Jan 2024 06:45:30 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"6a2540e749bca921514c34cdd8a33cf658bbd410aee3eb837f2e2498e99b3558"'), ('Last-Modified', 'Thu, 24 Dec 2020 04:11:01 GMT'), ('github-authentication-token-expiration', '2024-02-19 10:58:06 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '; rel="last", ; rel="next", ; rel="first", ; rel="prev"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4962'), ('X-RateLimit-Reset', '1706081414'), ('X-RateLimit-Used', '38'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'B656:2D7FFC:1F48C1B:1FBD2A0:65B0B20A')] +{"url":"https://api.github.com/repos/PyGithub/PyGithub/compare/v1.54...v1.54.1","html_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1","permalink_url":"https://github.com/PyGithub/PyGithub/compare/PyGithub:951fcdf...PyGithub:34d097c","diff_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1.diff","patch_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1.patch","base_commit":{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5NTFmY2RmMjNmOGM2NTdiNTI1ZGVlNzgwODZiYzRkZmQ0MmVmODEw","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"message":"Publish version 1.54","tree":{"sha":"1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"6d501b286e04f324bc87532003f0564624981ecb","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/6d501b286e04f324bc87532003f0564624981ecb","html_url":"https://github.com/PyGithub/PyGithub/commit/6d501b286e04f324bc87532003f0564624981ecb"}]},"merge_base_commit":{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5NTFmY2RmMjNmOGM2NTdiNTI1ZGVlNzgwODZiYzRkZmQ0MmVmODEw","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"message":"Publish version 1.54","tree":{"sha":"1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"6d501b286e04f324bc87532003f0564624981ecb","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/6d501b286e04f324bc87532003f0564624981ecb","html_url":"https://github.com/PyGithub/PyGithub/commit/6d501b286e04f324bc87532003f0564624981ecb"}]},"status":"ahead","ahead_by":10,"behind_by":0,"total_commits":10,"commits":[{"sha":"82c349ce3e1c556531110753831b3133334c19b7","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo4MmMzNDljZTNlMWM1NTY1MzExMTA3NTM4MzFiMzEzMzMzNGMxOWI3","commit":{"author":{"name":"Paul Du Bois","email":"dubois@adobe.com","date":"2020-12-03T02:12:41Z"},"committer":{"name":"Paul Du Bois","email":"dubois@adobe.com","date":"2020-12-03T02:12:41Z"},"message":"Fix #1731: Incorrect annotation","tree":{"sha":"b3948a8f30112d7cca24b96606dea93349b1b856","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/b3948a8f30112d7cca24b96606dea93349b1b856"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/82c349ce3e1c556531110753831b3133334c19b7","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/82c349ce3e1c556531110753831b3133334c19b7","html_url":"https://github.com/PyGithub/PyGithub/commit/82c349ce3e1c556531110753831b3133334c19b7","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/82c349ce3e1c556531110753831b3133334c19b7/comments","author":null,"committer":null,"parents":[{"sha":"24251f4b0f1ef4abe10c590af17620eb2ed3576c","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/24251f4b0f1ef4abe10c590af17620eb2ed3576c","html_url":"https://github.com/PyGithub/PyGithub/commit/24251f4b0f1ef4abe10c590af17620eb2ed3576c"}]},{"sha":"2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7","node_id":"MDY6Q29tbWl0MzU0NDQ5MDoyNDMyY2ZmZDNiMmYxYThlMGI2Yjk2ZDY5YjNkZDRkZWQxNDhhOWY3","commit":{"author":{"name":"Pascal Hofmann","email":"mail@pascalhofmann.de","date":"2020-12-03T12:32:53Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-12-03T12:32:53Z"},"message":"Merge pull request #1733 from dubois/main\n\nFix #1731: Incorrect annotation","tree":{"sha":"98dbe74b6c69fd6d89650824bb5fa48d59ad4499","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/98dbe74b6c69fd6d89650824bb5fa48d59ad4499"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfyNr1CRBK7hj4Ov3rIwAAdHIIACMaCONmlMgdxcZuJSjZtdIo\navRBcycP0TgRB0w1Ax+JaxyQlW6L9yG6A1uijFE+dMYHNWcaDkMNb+plB/mmlqZe\nw4fv5l10JdvNKpslI8UsxYZPPVFPGrWLUdsI7+Jv8gSklOmXZ179N45CUp1uQ4T4\n5h95YTyyKuWF8Lc1qZI2zUX+11ts6k5Z+dqlw0ilu2t0VWwNLTmx85wCi0lDzhdn\n/ZqubVn+et0MoIhFnTpaj8GhLRV+wUFhBg+j+ynhViTd4Kb1wXQKaJTaJKkRupGU\nTxlrYgOVLPm47B8q2bCH5LmpT1iUVhCYs/JPjOeEJXn7tP1VaSBqhU+gmvzssKI=\n=cEIt\n-----END PGP SIGNATURE-----\n","payload":"tree 98dbe74b6c69fd6d89650824bb5fa48d59ad4499\nparent 63e4fae997a9a5dc8c2b56907c87c565537bb28f\nparent 82c349ce3e1c556531110753831b3133334c19b7\nauthor Pascal Hofmann 1606998773 +0100\ncommitter GitHub 1606998773 +0100\n\nMerge pull request #1733 from dubois/main\n\nFix #1731: Incorrect annotation"}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7","html_url":"https://github.com/PyGithub/PyGithub/commit/2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7/comments","author":{"login":"pascal-hofmann","id":2102878,"node_id":"MDQ6VXNlcjIxMDI4Nzg=","avatar_url":"https://avatars.githubusercontent.com/u/2102878?v=4","gravatar_id":"","url":"https://api.github.com/users/pascal-hofmann","html_url":"https://github.com/pascal-hofmann","followers_url":"https://api.github.com/users/pascal-hofmann/followers","following_url":"https://api.github.com/users/pascal-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/pascal-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pascal-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascal-hofmann/subscriptions","organizations_url":"https://api.github.com/users/pascal-hofmann/orgs","repos_url":"https://api.github.com/users/pascal-hofmann/repos","events_url":"https://api.github.com/users/pascal-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/pascal-hofmann/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"63e4fae997a9a5dc8c2b56907c87c565537bb28f","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/63e4fae997a9a5dc8c2b56907c87c565537bb28f","html_url":"https://github.com/PyGithub/PyGithub/commit/63e4fae997a9a5dc8c2b56907c87c565537bb28f"},{"sha":"82c349ce3e1c556531110753831b3133334c19b7","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/82c349ce3e1c556531110753831b3133334c19b7","html_url":"https://github.com/PyGithub/PyGithub/commit/82c349ce3e1c556531110753831b3133334c19b7"}]},{"sha":"e113e37de1ec687c68337d777f3629251b35ab28","node_id":"MDY6Q29tbWl0MzU0NDQ5MDplMTEzZTM3ZGUxZWM2ODdjNjgzMzdkNzc3ZjM2MjkyNTFiMzVhYjI4","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-12-15T03:07:33Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-12-15T03:07:33Z"},"message":"Add pyupgrade to pre-commit configuration (#1783)\n\nTo help us switch to f-strings and other 3.6+ changes, add pyupgrade to\r\nour pre-commit configuration to keep the codebase clean.","tree":{"sha":"3bdfb7b92b80e7df710bd666dcb00fd04d964340","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/3bdfb7b92b80e7df710bd666dcb00fd04d964340"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/e113e37de1ec687c68337d777f3629251b35ab28","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJf2Ch1CRBK7hj4Ov3rIwAAdHIIAJAasU9Em5OS36vmelEIoWdn\nrfFmomE8K5EMcPU0xVoSQXEBaDqqopNM5jq2kS9O9MVYLcyPrbGzhUOZpF57Kkyt\nl7tBNTSvAdrDlxfYxn8duAOC7RtbFVyqoca+llIpuSXCf3G7T1XZ+zErFE8/Jo74\n4JAuMZ7+1GbqcLLYt9ly7pX7dCjXOMkjuVgT4kPMtbOleWr2YQFweONT+B6GyDOu\nHuLShrF2WVTAJCXrAdoq/czK8gOKJFPTHhFPMJqb4le05XliB286plmEUTryPUXG\nk9rJLK3jaRg8TTn7Uwsl3sVxHNl7JirJsdSXESiSnvorbPdEtVQlztDmwYvw0Rg=\n=Qwiy\n-----END PGP SIGNATURE-----\n","payload":"tree 3bdfb7b92b80e7df710bd666dcb00fd04d964340\nparent 2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7\nauthor Steve Kowalik 1608001653 +1100\ncommitter GitHub 1608001653 +1100\n\nAdd pyupgrade to pre-commit configuration (#1783)\n\nTo help us switch to f-strings and other 3.6+ changes, add pyupgrade to\r\nour pre-commit configuration to keep the codebase clean."}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/e113e37de1ec687c68337d777f3629251b35ab28","html_url":"https://github.com/PyGithub/PyGithub/commit/e113e37de1ec687c68337d777f3629251b35ab28","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/e113e37de1ec687c68337d777f3629251b35ab28/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7","html_url":"https://github.com/PyGithub/PyGithub/commit/2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7"}]},{"sha":"f299699ccd75910593d5ddf7cc6212f70c5c28b1","node_id":"MDY6Q29tbWl0MzU0NDQ5MDpmMjk5Njk5Y2NkNzU5MTA1OTNkNWRkZjdjYzYyMTJmNzBjNWMyOGIx","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-12-15T03:13:05Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-12-15T03:13:05Z"},"message":"Ignore pyupgrade commit for git blame (#1785)\n\nSince the pyupgrade commit makes a large amount of changes, ignore the\r\ncommit by default with git blame.","tree":{"sha":"26a66857d79da88f91e239a2b43f01eecb4b3b2b","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/26a66857d79da88f91e239a2b43f01eecb4b3b2b"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/f299699ccd75910593d5ddf7cc6212f70c5c28b1","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJf2CnBCRBK7hj4Ov3rIwAAdHIIAAA+IDUcDmxT5CU2FINN7KFq\nnb5+ldtcluhl6OPIEyNShJTBIMPm0XePFRZLNvSdWb7PO/DepYykycMCjYdwHFqj\n23NUoEZ/AdvvH6xYDbUyr8vnXGudRTKvNKr98wV11B2JbOsJn+6DdmQ1iwfdNr0S\nXO0K809ROQ5CQXMNjp8ydwz/T6Q7WkVUfxnM6cYpvlHaG3lIXXuo+pbw9DSsfXP4\nCI05/vXd6b97wh5VztoZ4evTBu1gHCC+nQqvXLIWfmK+DUmRMUhIDhD0/5Sz5lR4\nAIHvDpp9rs3eshAJ2Dpu9p9VLCbxm19CgXSE3dh11oCXcEnNOVShJR7O3CuPqh4=\n=YZoY\n-----END PGP SIGNATURE-----\n","payload":"tree 26a66857d79da88f91e239a2b43f01eecb4b3b2b\nparent e113e37de1ec687c68337d777f3629251b35ab28\nauthor Steve Kowalik 1608001985 +1100\ncommitter GitHub 1608001985 +1100\n\nIgnore pyupgrade commit for git blame (#1785)\n\nSince the pyupgrade commit makes a large amount of changes, ignore the\r\ncommit by default with git blame."}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/f299699ccd75910593d5ddf7cc6212f70c5c28b1","html_url":"https://github.com/PyGithub/PyGithub/commit/f299699ccd75910593d5ddf7cc6212f70c5c28b1","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/f299699ccd75910593d5ddf7cc6212f70c5c28b1/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"e113e37de1ec687c68337d777f3629251b35ab28","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/e113e37de1ec687c68337d777f3629251b35ab28","html_url":"https://github.com/PyGithub/PyGithub/commit/e113e37de1ec687c68337d777f3629251b35ab28"}]}]} + +https +GET +api.github.com +None +/repositories/3544490/compare/v1.54...v1.54.1?page=3&per_page=4 +{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'} +None +200 +[('Server', 'GitHub.com'), ('Date', 'Wed, 24 Jan 2024 06:45:31 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Transfer-Encoding', 'chunked'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"9a04c6718bc5d4797539efa3888340cfbb5b64f05400ebb368bb3c7c9c796c39"'), ('Last-Modified', 'Thu, 24 Dec 2020 04:11:01 GMT'), ('github-authentication-token-expiration', '2024-02-19 10:58:06 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '; rel="last", ; rel="first", ; rel="prev"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4961'), ('X-RateLimit-Reset', '1706081414'), ('X-RateLimit-Used', '39'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('X-GitHub-Request-Id', 'B664:5B937:20893EC:20FD252:65B0B20A')] +{"url":"https://api.github.com/repos/PyGithub/PyGithub/compare/v1.54...v1.54.1","html_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1","permalink_url":"https://github.com/PyGithub/PyGithub/compare/PyGithub:951fcdf...PyGithub:34d097c","diff_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1.diff","patch_url":"https://github.com/PyGithub/PyGithub/compare/v1.54...v1.54.1.patch","base_commit":{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5NTFmY2RmMjNmOGM2NTdiNTI1ZGVlNzgwODZiYzRkZmQ0MmVmODEw","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"message":"Publish version 1.54","tree":{"sha":"1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"6d501b286e04f324bc87532003f0564624981ecb","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/6d501b286e04f324bc87532003f0564624981ecb","html_url":"https://github.com/PyGithub/PyGithub/commit/6d501b286e04f324bc87532003f0564624981ecb"}]},"merge_base_commit":{"sha":"951fcdf23f8c657b525dee78086bc4dfd42ef810","node_id":"MDY6Q29tbWl0MzU0NDQ5MDo5NTFmY2RmMjNmOGM2NTdiNTI1ZGVlNzgwODZiYzRkZmQ0MmVmODEw","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-11-30T05:43:49Z"},"message":"Publish version 1.54","tree":{"sha":"1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/1a5bc94ff3672ddcd68c27ccbe4c12b44343bb3c"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810","html_url":"https://github.com/PyGithub/PyGithub/commit/951fcdf23f8c657b525dee78086bc4dfd42ef810","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/951fcdf23f8c657b525dee78086bc4dfd42ef810/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"6d501b286e04f324bc87532003f0564624981ecb","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/6d501b286e04f324bc87532003f0564624981ecb","html_url":"https://github.com/PyGithub/PyGithub/commit/6d501b286e04f324bc87532003f0564624981ecb"}]},"status":"ahead","ahead_by":10,"behind_by":0,"total_commits":10,"commits":[{"sha":"31a1c007808a4205bdae691385d2627c561e69ed","node_id":"MDY6Q29tbWl0MzU0NDQ5MDozMWExYzAwNzgwOGE0MjA1YmRhZTY5MTM4NWQyNjI3YzU2MWU2OWVk","commit":{"author":{"name":"Edouard Benauw","email":"edouard.benauw@student.ecp.fr","date":"2020-12-24T04:09:32Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2020-12-24T04:09:32Z"},"message":"Pin pyjwt version (#1797)\n\n* Pin pyjwt version\r\n\r\nPyjwt version is not fixed, which can cause syntax error for user since the release of breaking changes from pyjwt (https://pypi.org/project/PyJWT/#history)\r\n\r\n* Update setup.py\r\n\r\nFixes #1796","tree":{"sha":"f1f0f4f89687db0bd578530bfde3711d648ca8b7","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/f1f0f4f89687db0bd578530bfde3711d648ca8b7"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/31a1c007808a4205bdae691385d2627c561e69ed","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJf5BR8CRBK7hj4Ov3rIwAAdHIIAJPfqg6LN2GTPXBh2Dtf++2D\nxIFywirZ2SSdV4B6BR6EP9mtAstO2sD53qGgwtmpkvUooWQmE+2iBXxMNrTG6E4P\nrHVVNNulrDImNAUFNtndREZfNjrCveYXzfAvl9KduJqo7GHt75uPUlD7JjmzUWIk\n4ilUdGt/N52AKhXsjRgmbhdMrjw4/2aLwHLuLe0fbf/6YFu6tyGfeX9hkMJtUMuC\nx+hPcmXByzwDu9ZXB+VlMgvm51BhgtPujT3pKqoaGihiiiL6DONJBojpWkZRGoL1\nDEFOrFTwdwQmv7Ff+2nj0GCSdyPfsE/ErG1YjmgQE86PTJUATjaUycz0fBHsbBc=\n=crvV\n-----END PGP SIGNATURE-----\n","payload":"tree f1f0f4f89687db0bd578530bfde3711d648ca8b7\nparent f299699ccd75910593d5ddf7cc6212f70c5c28b1\nauthor Edouard Benauw 1608782972 +0100\ncommitter GitHub 1608782972 +1100\n\nPin pyjwt version (#1797)\n\n* Pin pyjwt version\r\n\r\nPyjwt version is not fixed, which can cause syntax error for user since the release of breaking changes from pyjwt (https://pypi.org/project/PyJWT/#history)\r\n\r\n* Update setup.py\r\n\r\nFixes #1796"}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/31a1c007808a4205bdae691385d2627c561e69ed","html_url":"https://github.com/PyGithub/PyGithub/commit/31a1c007808a4205bdae691385d2627c561e69ed","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/31a1c007808a4205bdae691385d2627c561e69ed/comments","author":null,"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","site_admin":false},"parents":[{"sha":"f299699ccd75910593d5ddf7cc6212f70c5c28b1","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/f299699ccd75910593d5ddf7cc6212f70c5c28b1","html_url":"https://github.com/PyGithub/PyGithub/commit/f299699ccd75910593d5ddf7cc6212f70c5c28b1"}]},{"sha":"34d097ce473601624722b90fc5d0396011dd3acb","node_id":"MDY6Q29tbWl0MzU0NDQ5MDozNGQwOTdjZTQ3MzYwMTYyNDcyMmI5MGZjNWQwMzk2MDExZGQzYWNi","commit":{"author":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-12-24T04:11:01Z"},"committer":{"name":"Steve Kowalik","email":"steven@wedontsleep.org","date":"2020-12-24T04:11:01Z"},"message":"Publish version 1.54.1","tree":{"sha":"7ad0475f15170e05abbb93a65d07370b9335d0fc","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/7ad0475f15170e05abbb93a65d07370b9335d0fc"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/34d097ce473601624722b90fc5d0396011dd3acb","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/34d097ce473601624722b90fc5d0396011dd3acb","html_url":"https://github.com/PyGithub/PyGithub/commit/34d097ce473601624722b90fc5d0396011dd3acb","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/34d097ce473601624722b90fc5d0396011dd3acb/comments","author":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"committer":{"login":"s-t-e-v-e-n-k","id":15225059,"node_id":"MDQ6VXNlcjE1MjI1MDU5","avatar_url":"https://avatars.githubusercontent.com/u/15225059?v=4","gravatar_id":"","url":"https://api.github.com/users/s-t-e-v-e-n-k","html_url":"https://github.com/s-t-e-v-e-n-k","followers_url":"https://api.github.com/users/s-t-e-v-e-n-k/followers","following_url":"https://api.github.com/users/s-t-e-v-e-n-k/following{/other_user}","gists_url":"https://api.github.com/users/s-t-e-v-e-n-k/gists{/gist_id}","starred_url":"https://api.github.com/users/s-t-e-v-e-n-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-t-e-v-e-n-k/subscriptions","organizations_url":"https://api.github.com/users/s-t-e-v-e-n-k/orgs","repos_url":"https://api.github.com/users/s-t-e-v-e-n-k/repos","events_url":"https://api.github.com/users/s-t-e-v-e-n-k/events{/privacy}","received_events_url":"https://api.github.com/users/s-t-e-v-e-n-k/received_events","type":"User","site_admin":false},"parents":[{"sha":"31a1c007808a4205bdae691385d2627c561e69ed","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/31a1c007808a4205bdae691385d2627c561e69ed","html_url":"https://github.com/PyGithub/PyGithub/commit/31a1c007808a4205bdae691385d2627c561e69ed"}]}]} diff --git a/tests/Repository.py b/tests/Repository.py index a4a62e7a4e..77920eddc3 100644 --- a/tests/Repository.py +++ b/tests/Repository.py @@ -704,6 +704,40 @@ def testCompare(self): ], ) + def testCompareCommitPagination(self): + gh = github.Github( + auth=self.oauth_token, + per_page=4, + retry=self.retry, + pool_size=self.pool_size, + seconds_between_requests=self.seconds_between_requests, + seconds_between_writes=self.seconds_between_writes, + ) + repo = gh.get_repo("PyGithub/PyGithub") + comparison = repo.compare("v1.54", "v1.54.1") + self.assertEqual(comparison.status, "ahead") + self.assertEqual(comparison.ahead_by, 10) + self.assertEqual(comparison.behind_by, 0) + self.assertEqual(comparison.total_commits, 10) + self.assertEqual(len(comparison.files), 228) + self.assertEqual(comparison.commits.totalCount, 10) + self.assertListKeyEqual( + comparison.commits, + lambda c: c.sha, + [ + "fab682a5ccfc275c31ec37f1f541254c7bd780f3", + "9ee3afb1716c559a0b3b44e097c05f4b14ae2ab8", + "a806b5233f6423e0f8dacc4d04b6d81a72689bed", + "63e4fae997a9a5dc8c2b56907c87c565537bb28f", + "82c349ce3e1c556531110753831b3133334c19b7", + "2432cffd3b2f1a8e0b6b96d69b3dd4ded148a9f7", + "e113e37de1ec687c68337d777f3629251b35ab28", + "f299699ccd75910593d5ddf7cc6212f70c5c28b1", + "31a1c007808a4205bdae691385d2627c561e69ed", + "34d097ce473601624722b90fc5d0396011dd3acb", + ], + ) + def testGetComments(self): self.assertListKeyEqual( self.repo.get_comments(),