Download progress/github/SpecForge/.github/workflows/lint.yaml from FasterDFlash/Hanrui: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/FasterDFlash/Hanrui/resolve/61ba51ee17752e47918e8f0eb771dbe80ebe56b8/progress/github/SpecForge/.github/workflows/lint.yaml
- Command line
-
hf download hf://FasterDFlash/Hanrui@61ba51ee17752e47918e8f0eb771dbe80ebe56b8/progress/github/SpecForge/.github/workflows/lint.yaml
-
curl -L -o lint.yaml https://huggingface.co/FasterDFlash/Hanrui/resolve/61ba51ee17752e47918e8f0eb771dbe80ebe56b8/progress/github/SpecForge/.github/workflows/lint.yaml
446 Bytes
| name: Lint | |
| on: [ pull_request ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install pre-commit hook | |
| run: | | |
| python -m pip install pre-commit | |
| pre-commit install | |
| - name: Linting | |
| run: pre-commit run --all-files --show-diff-on-failure | |