Fix flake8 whitespace errors in helpers.py
- Removed trailing whitespace from blank lines (W293) - All flake8 checks now pass 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -48,11 +48,11 @@ def validate_url(url: str) -> bool:
|
|||||||
# Check basic components exist
|
# Check basic components exist
|
||||||
if not all([result.scheme, result.netloc]):
|
if not all([result.scheme, result.netloc]):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Check for invalid characters (spaces, etc.)
|
# Check for invalid characters (spaces, etc.)
|
||||||
if " " in url:
|
if " " in url:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
except Exception:
|
except Exception:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user