32 provide installation instructions #5
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: Code Quality | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies with dev extras | |
| run: uv sync --extra dev | |
| # Linting is available but not enforced yet | |
| # Uncomment these steps when ready to enforce code quality | |
| # - name: Run ruff linting | |
| # run: uv run ruff check . | |
| # - name: Run ruff formatting check | |
| # run: uv run ruff format --check . | |
| # - name: Type checking with mypy (if available) | |
| # run: | | |
| # if uv run python -c "import mypy" 2>/dev/null; then | |
| # uv run mypy src/parse_patrol --ignore-missing-imports | |
| # else | |
| # echo "mypy not available, skipping type checking" | |
| # fi | |
| # continue-on-error: true | |
| - name: Placeholder for future linting | |
| run: echo "Linting workflow ready - uncomment steps above when ready to enforce" |