Skip to content

Commit

Permalink
Fix mypy CI (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored May 4, 2022
1 parent e8b6e1b commit 8ef7ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webviz_config/_deployment/azure_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def create_storage_container(
storage_account: str,
container: str,
) -> None:
BlobServiceClient.from_connection_string(
BlobServiceClient.from_connection_string( # type: ignore[attr-defined]
_connection_string(subscription, resource_group, storage_account)
).get_container_client(container).create_container()

Expand Down
2 changes: 1 addition & 1 deletion webviz_config/_localhost_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _check_for_ott_or_cookie(): # type: ignore[no-untyped-def]
else:
flask.abort(401)

@self._app.after_request
@self._app.after_request # type: ignore[arg-type]
def _set_cookie_token_in_response(
response: flask.wrappers.Response,
) -> flask.wrappers.Response:
Expand Down

0 comments on commit 8ef7ea9

Please sign in to comment.