Apply Ruff formatting
This commit is contained in:
parent
576795a471
commit
2dca6262db
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class URLComponent(Component):
|
||||||
r"(\.[a-zA-Z]{2,})?" # top-level domain
|
r"(\.[a-zA-Z]{2,})?" # top-level domain
|
||||||
r"(:\d+)?" # optional port
|
r"(:\d+)?" # optional port
|
||||||
r"(\/[^\s]*)?$", # optional path
|
r"(\/[^\s]*)?$", # optional path
|
||||||
re.IGNORECASE
|
re.IGNORECASE,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not url_regex.match(string):
|
if not url_regex.match(string):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue