{"id":26696702,"url":"https://github.com/cleanlab/nblint-action","last_synced_at":"2025-03-26T20:27:21.304Z","repository":{"id":64019554,"uuid":"569841438","full_name":"cleanlab/nblint-action","owner":"cleanlab","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-01T22:39:46.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T11:03:31.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cleanlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-23T18:30:23.000Z","updated_at":"2022-11-23T18:58:49.000Z","dependencies_parsed_at":"2022-11-30T20:11:49.602Z","dependency_job_id":null,"html_url":"https://github.com/cleanlab/nblint-action","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"e1f6094ca2eacd3df139326d524d699b7cf007e8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleanlab%2Fnblint-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleanlab%2Fnblint-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleanlab%2Fnblint-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleanlab%2Fnblint-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cleanlab","download_url":"https://codeload.github.com/cleanlab/nblint-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245730108,"owners_count":20662952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-26T20:27:20.827Z","updated_at":"2025-03-26T20:27:21.298Z","avatar_url":"https://github.com/cleanlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notebook Linting GitHub Action\n\nChecks if Jupyter Notebooks in your repository are well formatted according to certain specifications.\n\n## Usage\n\nThis GitHub action can conduct a few different types of checks on your notebook, please specify in your inputs which checks should be conducted. \n\n### General Inputs\n\n| Input | Description | Default |\n|-------|-------------|---------|\n| `directory` | Directory to search for notebooks. | `\".\"` | \n| `ignore_paths` | Comma-seperated list of paths to ignore, paths should be relative to the directory specified above. | `\"\"` |\n\n### Inputs Specifying Checks to be Done\n\n| Input | Check Description | Default |\n|-------|-------------------|---------|\n| `check_outputs_empty` | Check that output cells are empty. | `true` | \n| `check_no_trailing_newline` | Check that there is no newline at the end of code cells. | `true` |\n| `check_correct_kernel` | Check that notebook is using the right kernel (here it checks for `Python 3 (ipykernel)`). | `false` | \n| `check_notebook_badge` | Check that notebook has a google colab badge.  | `false` |\n\n\n## Example Workflow\n\n```yml\nname: Sample Workflow\non: push\n  \njobs:\n  nblint:\n    name: Lint Notebooks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: cleanlab/nblint-action@v1\n        with:\n          directory: 'src'\n          ignore_paths: 'path_to_ingore'\n          check_outputs_empty: false\n          check_correct_kernel: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleanlab%2Fnblint-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleanlab%2Fnblint-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleanlab%2Fnblint-action/lists"}