Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nbqa and ruff to check style of notebooks #34

Merged
merged 10 commits into from
Nov 20, 2024
Merged

Use nbqa and ruff to check style of notebooks #34

merged 10 commits into from
Nov 20, 2024

Conversation

santisoler
Copy link
Member

@santisoler santisoler commented Nov 18, 2024

Add nbqa and ruff to the environment.yml file. Add a Makefile to the repo to easily run regular tasks like building the website, running the notebooks, checking style and autoformatting the notebooks. Add a check.yml GitHub Action to check style of notebooks in PRs.

Add nbqa to the `environment.yml` file. Add a Makefile to the repo to
easily run regular tasks like building the website, running the
notebooks, checking style and autoformatting the notebooks. Add
a `check.yml` GitHub Action to check style of notebooks in PRs.
Avoid globing, since nbqa can recursively find notebooks in the dir.
@santisoler santisoler marked this pull request as ready for review November 20, 2024 00:50
@santisoler santisoler merged commit 1af946d into main Nov 20, 2024
2 of 3 checks passed
@santisoler santisoler deleted the nbqa-ruff branch November 20, 2024 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant