Skip to content

Commit 2bbbd29

Browse files
committed
run autoformatters
1 parent 2993597 commit 2bbbd29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v1.3.5
44
hooks:
55
- id: reorder-python-imports
6-
language_version: python3.6
6+
language_version: python3
77
- repo: https://github.com/ambv/black
88
rev: 18.9b0
99
hooks:

nbviewer/providers/github/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class GitHubRepoHandler(GithubClientMixin, BaseHandler):
146146

147147
async def get(self, user, repo):
148148
response = await self.github_client.get_repo(user, repo)
149-
default_branch = json.loads(response_text(response))['default_branch']
149+
default_branch = json.loads(response_text(response))["default_branch"]
150150

151151
new_url = self.from_base(
152152
"/", self.format_prefix, "github", user, repo, "tree", default_branch

0 commit comments

Comments
 (0)