添加一个可供管理的订阅制模块,并且接入 KonaPH

This commit is contained in:
2025-11-11 00:53:17 +08:00
parent 857f8c5955
commit bfde559892
8 changed files with 385 additions and 4 deletions

View File

@ -8,6 +8,8 @@ base = Path(__file__).parent.parent.absolute()
def filter(change: Change, path: str) -> bool:
if "__pycache__" in path:
return False
if Path(path).absolute().is_relative_to(base / "data"):
if Path(path).absolute().is_relative_to((base / "data").absolute()):
return False
if Path(path).absolute().is_relative_to((base / ".git").absolute()):
return False
return True