Apply Ruff formatting

This commit is contained in:
italojohnny 2024-06-23 22:35:30 +00:00 committed by Gabriel Luiz Freitas Almeida
commit 2dca6262db

View file

@ -50,7 +50,7 @@ class URLComponent(Component):
r"(\.[a-zA-Z]{2,})?" # top-level domain
r"(:\d+)?" # optional port
r"(\/[^\s]*)?$", # optional path
re.IGNORECASE
re.IGNORECASE,
)
if not url_regex.match(string):