Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/lint-notebooks.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daquinteroflex could you double check this? specifically, i'm not sure which branches are relevant for linting in the notebooks repo

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "notebooks-linting"

on:
workflow_dispatch:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

jobs:
lint:
name: Run notebook linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: astral-sh/ruff-action@v3
with:
version: 0.5.5

- name: Run ruff format
run: ruff format --check --diff .

- name: Run ruff check
run: ruff check .
Loading