Spaces:
Sleeping
Sleeping
Download ytmusicapi/.github/workflows/lint.yml from veltrixcode/ytm: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/spaces/veltrixcode/ytm/resolve/main/ytmusicapi/.github/workflows/lint.yml
- Command line
-
hf download hf://spaces/veltrixcode/ytm/ytmusicapi/.github/workflows/lint.yml
-
curl -L -o lint.yml https://huggingface.co/spaces/veltrixcode/ytm/resolve/main/ytmusicapi/.github/workflows/lint.yml
643 Bytes
| name: lint | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ytmusicapi/** | |
| - tests/** | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: chartboost/ruff-action@v1 | |
| with: | |
| version: 0.11.5 | |
| - uses: chartboost/ruff-action@v1 | |
| with: | |
| version: 0.11.5 | |
| args: format --check | |
| mypy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - run: pip install mypy==1.15.0 | |
| - run: mypy --install-types --non-interactive | |