diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9efd1182..12a5e0ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,18 +2,23 @@ # See https://pre-commit.com for more information repos: - # ── Integration Tests (MANDATORY - MUST PASS before commit) ────── + # ── Qlib Unit Tests (MANDATORY) ────────────────────────────────── - repo: local hooks: - - id: integration-tests - name: Run Integration Tests (60 tests) + - id: qlib-unit-tests + name: Qlib Unit Tests (~190 tests) entry: pytest language: system args: - - test/integration/test_all_features.py + - test/qlib/ + - test/backtesting/ - -v - --tb=short - - --no-cov # Skip coverage for speed (run separately if needed) + - --no-cov + - --ignore=test/backtesting/test_ftmo_oos.py + - --ignore=test/backtesting/test_kronos_adapter.py + - --ignore=test/backtesting/test_results_db.py + - --ignore=test/qlib/test_fin_quant_integration.py pass_filenames: false always_run: true