fix: Add newline to end of sanitize_jsonl.py for ruff compliance #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Quality Gates | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| quality-gates: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.12] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install poetry | |
| poetry install --with dev | |
| - name: π¨ MANDATORY Quality Gates | |
| run: | | |
| echo "π Running MANDATORY quality gates..." | |
| make quality-check | |
| - name: π Upload coverage reports | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| file: ./coverage.xml | |
| - name: πΎ Cache dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} | |
| - name: β Quality Gates Status | |
| run: | | |
| echo "π ALL QUALITY GATES PASSED!" | |
| echo "β Tests: 100% pass rate" | |
| echo "β Coverage: β₯90%" | |
| echo "β Architecture: SOLID/DRY/DDD" | |
| echo "β Libraries: 95/5 principle" | |
| echo "π Safe to merge!" |