Skip to content

Commit

Permalink
final fix for test_tutorials (noqa removed from tutorials for clarity)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZergLev committed Nov 29, 2024
1 parent 0572c39 commit a4f88d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/utils/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class InstallationCell(ReplacePattern):
Uncomment `# %pip install {}`, add a "quiet" flag, add a comment explaining the cell.
"""

pattern: ClassVar[re.Pattern] = re.compile("\n# %pip install (.*)( # noqa: E501)?\n")
pattern: ClassVar[re.Pattern] = re.compile("\n# %pip install (.*?)([ ]*# noqa: E501)?\n")

@staticmethod
def replace_versions(cmd: str):
Expand Down

0 comments on commit a4f88d2

Please sign in to comment.