Consolidate Python ignore rules into root gitignore
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
"""MT5/bat互換のH4トレンド判定入口。"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def main() -> None:
|
||||
"""src配下のH4トレンド判定パイプラインを起動する。"""
|
||||
src_path = Path(__file__).resolve().parent / "src"
|
||||
if str(src_path) not in sys.path:
|
||||
sys.path.insert(0, str(src_path))
|
||||
|
||||
from ea_py.pipelines.trend_pipeline import main as run_main
|
||||
|
||||
run_main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user