mirror of
https://github.com/smittix/intercept.git
synced 2026-07-06 00:28:12 -07:00
style: apply ruff-format to entire codebase
First-time run of ruff-format via pre-commit hook normalises quote style, trailing commas, and whitespace across 188 Python files. No logic changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -18,8 +18,9 @@ import sys
|
||||
# Check Python version early, before imports that use 3.9+ syntax
|
||||
|
||||
# Handle --version early before other imports
|
||||
if '--version' in sys.argv or '-V' in sys.argv:
|
||||
if "--version" in sys.argv or "-V" in sys.argv:
|
||||
from config import VERSION
|
||||
|
||||
print(f"INTERCEPT v{VERSION}")
|
||||
sys.exit(0)
|
||||
|
||||
@@ -33,5 +34,5 @@ if not site.ENABLE_USER_SITE:
|
||||
|
||||
from app import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user