Download .github/workflows/code-init-file-checker.yml from echodict/NeMo: direct link, hf CLI and curl.
- Browser
- Download file 485 Bytes
-
https://huggingface.co/datasets/echodict/NeMo/resolve/main/.github/workflows/code-init-file-checker.yml
- Command line
-
hf download hf://datasets/echodict/NeMo/.github/workflows/code-init-file-checker.yml
-
curl -L -o code-init-file-checker.yml https://huggingface.co/datasets/echodict/NeMo/resolve/main/.github/workflows/code-init-file-checker.yml
485 Bytes
| name: Check __init__ files | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| check-init-files: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install init-file-checker | |
| run: pip install init-file-checker | |
| - name: Run init-file-checker | |
| run: init-file-checker nemo/ | |