We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3eac15b + 0675307 commit be897e7Copy full SHA for be897e7
tools/tensorflow_docs/tools/nbfmt/__main__.py
@@ -237,7 +237,7 @@ def update_license_cells(data: Dict[str, Any]) -> None:
237
data: object representing a parsed JSON notebook.
238
"""
239
# This pattern in Apache and MIT license boilerplate.
240
- license_re = re.compile(r"#@title.*License")
+ license_re = re.compile(r"#\s?@title.*License")
241
242
for idx, cell in enumerate(data["cells"]):
243
src_text = "".join(cell["source"])
0 commit comments