Download .github/workflows/lint.yml from posix4e/brain: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/spaces/posix4e/brain/resolve/main/.github/workflows/lint.yml
- Command line
-
hf download hf://spaces/posix4e/brain/.github/workflows/lint.yml
-
curl -L -o lint.yml https://huggingface.co/spaces/posix4e/brain/resolve/main/.github/workflows/lint.yml
471 Bytes
| name: Brain Lint with black | |
| on: | |
| push: | |
| pull_request: | |
| paths: | |
| - "Brain/**" | |
| - "requirements.txt" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: Brain | |
| steps: | |
| - name: setup | |
| uses: actions/checkout@v3 | |
| - name: setup-python | |
| uses: actions/setup-python@v3 | |
| - name: install black | |
| run: pip install black | |
| - name: lint | |
| run: black --check . |