Skip to content

Commit

Permalink
remove double quotes in reformatted long str
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijn committed Oct 29, 2023
1 parent 479e86e commit 8b09f25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions altair/_magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def _get_variable(name):
if ip is None:
raise ValueError(
"Magic command must be run within an IPython "
"environemnt, in which get_ipython() is defined."
"environment, in which get_ipython() is defined."
)
if name not in ip.user_ns:
raise NameError(
"argument '{}' does not match the " "name of any defined variable".format(
"argument '{}' does not match the name of any defined variable".format(
name
)
)
Expand Down
2 changes: 1 addition & 1 deletion sphinxext/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_docstring_and_rest(filename):

if not isinstance(node, ast.Module):
raise TypeError(
"This function only supports modules. " "You provided {}".format(
"This function only supports modules. You provided {}".format(
node.__class__.__name__
)
)
Expand Down

0 comments on commit 8b09f25

Please sign in to comment.