mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
19 lines
366 B
Python
19 lines
366 B
Python
#!/usr/bin/env python3
|
|
"""Command entry point for repository license header checks."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
SCRIPT_DIR = Path(__file__).resolve().parent
|
|
if str(SCRIPT_DIR) not in sys.path:
|
|
sys.path.insert(0, str(SCRIPT_DIR))
|
|
|
|
from license_header import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|