Upload C1W4 Assignment #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: !!str Ruff | |
on: !!map | |
push : !!map | |
branches: !!str main | |
workflow_run: !!map | |
workflows: !!seq ["Black", "Fix"] | |
types: !!str completed | |
jobs: !!map | |
lint: !!map | |
runs-on: !!str ubuntu-latest | |
steps: !!seq | |
- uses: !!str actions/checkout@v3 | |
- name: !!str Set up Python | |
uses: !!str actions/setup-python@v3 | |
- name: !!str Install dependencies | |
run: !!str | | |
python -m pip install --upgrade pip | |
pip install ruff nbqa | |
- name: !!str Analysing the code | |
run: !!str nbqa ruff . |