Spaces:
Running
Running
Download .github/workflows/static-check.yaml from hasan93/hallo-talking-face: direct link, hf CLI and curl.
- Browser
- Download file 747 Bytes
-
https://huggingface.co/spaces/hasan93/hallo-talking-face/resolve/23a0ba6df41fa255e6f86abc276366ed5622033d/.github/workflows/static-check.yaml
- Command line
-
hf download hf://spaces/hasan93/hallo-talking-face@23a0ba6df41fa255e6f86abc276366ed5622033d/.github/workflows/static-check.yaml
-
curl -L -o static-check.yaml https://huggingface.co/spaces/hasan93/hallo-talking-face/resolve/23a0ba6df41fa255e6f86abc276366ed5622033d/.github/workflows/static-check.yaml
747 Bytes
| name: Pylint | |
| on: [push, pull_request] | |
| jobs: | |
| static-check: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04] | |
| python-version: ["3.10"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pylint | |
| python -m pip install --upgrade isort | |
| python -m pip install -r requirements.txt | |
| - name: Analysing the code with pylint | |
| run: | | |
| isort $(git ls-files '*.py') --check-only --diff | |
| pylint $(git ls-files '*.py') | |