Download .github/workflows/linting.yml from dbouget/LyNos: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/dbouget/LyNos/resolve/e09a07ac0db039c5cc70973624aa3d4b59373d5e/.github/workflows/linting.yml
- Command line
-
hf download hf://spaces/dbouget/LyNos@e09a07ac0db039c5cc70973624aa3d4b59373d5e/.github/workflows/linting.yml
-
curl -L -o linting.yml https://huggingface.co/spaces/dbouget/LyNos/resolve/e09a07ac0db039c5cc70973624aa3d4b59373d5e/.github/workflows/linting.yml
488 Bytes
| name: Linting | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install lint dependencies | |
| run: pip install wheel setuptools black isort flake8 | |
| - name: Lint the code | |
| run: sh shell/lint.sh | |