Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 19, 2022
1 parent aad8a65 commit ca1b1c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nbviewer/providers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
]

default_rewrites = [
"nbviewer.providers.{}".format(prov) for prov in ["gist", "github", "dropbox", "url", "s3"]
"nbviewer.providers.{}".format(prov)
for prov in ["gist", "github", "dropbox", "url", "s3"]
]


Expand Down Expand Up @@ -86,7 +87,9 @@ def _load_provider_feature(feature, providers, **handler_names):
continue
else:
# Ex: provider_handlers['url_handler'] = handler_names['url_handler']
provider_handlers[provider_handler_key] = handler_names[provider_handler_key]
provider_handlers[provider_handler_key] = handler_names[
provider_handler_key
]

features = []

Expand Down

0 comments on commit ca1b1c6

Please sign in to comment.