mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed unnecessary quotes from type annotation (#6540)
This commit is contained in:
parent
9956bf1dc4
commit
6a2b62b4f9
@ -247,7 +247,7 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
|
||||
|
||||
# Parse and extract all external assets from a media file using a preset
|
||||
# regular expression, and return all URLs found.
|
||||
def _parse_media(self, initiator: File) -> "list[URL]":
|
||||
def _parse_media(self, initiator: File) -> list[URL]:
|
||||
_, extension = posixpath.splitext(initiator.dest_uri)
|
||||
if extension not in self.assets_expr_map:
|
||||
return []
|
||||
|
Loading…
Reference in New Issue
Block a user