Spaces:
Sleeping
Sleeping
Download .github/workflows/python-lint.yml from taigatakano/labtool_docker: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/spaces/taigatakano/labtool_docker/resolve/main/.github/workflows/python-lint.yml
- Command line
-
hf download hf://spaces/taigatakano/labtool_docker/.github/workflows/python-lint.yml
-
curl -L -o python-lint.yml https://huggingface.co/spaces/taigatakano/labtool_docker/resolve/main/.github/workflows/python-lint.yml
465 Bytes
| name: Lint Python Code | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| flake8-lint: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 | |
| - name: Run flake8 | |
| run: flake8 . |