Refactor pipeline code in notebook into functions #178
This file contains hidden or 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: Formatting | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| formatting: | |
| runs-on: ubuntu-latest | |
| name: Code Formatting and Trailing Whitespace Check | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Run Ruff for code formatting check | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| version: 0.14.5 | |
| args: "format --check --diff" | |
| - name: Run Ruff for linting check | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| version: 0.14.5 | |
| args: "check" |