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

Run nbfmt on notebooks in templates/ #213

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Conversation

markmcd
Copy link
Member

@markmcd markmcd commented Jan 9, 2024

Description of the change

Add templates/ to the triggers, and run nbfmt on notebooks in that dir. They remain excluded from nblint as they are not site content. And formats the notebooks too.

Motivation

Easier text-mode diffs & reviews.

Type of change

Choose one: Other

Checklist

  • I have performed a self-review of my code.
  • I have added detailed comments to my code where applicable.
  • I have verified that my change does not break existing code.
  • My PR is based on the latest changes of the main branch (if unsure, please run git pull --rebase upstream main).
  • I am familiar with the Google Style Guide for the language I have coded in.
  • I have read through the Contributing Guide and signed the Contributor License Agreement.

This is mainly so diffs are easy to review in text-mode.
@markmcd markmcd requested a review from a team as a code owner January 9, 2024 03:10
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added the status:awaiting review PR awaiting review from a maintainer label Jan 9, 2024
Only the nbfmt workflow though - nblint still only operates on site
contents.
@markmcd
Copy link
Member Author

markmcd commented Jan 11, 2024

PTAL? @MarkDaoust @pcoet @anirudh161

@pcoet pcoet merged commit 9534bdc into google:main Jan 11, 2024
4 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Jan 11, 2024
@markmcd markmcd deleted the nbfmt-tmpls branch January 11, 2024 04:28
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.

2 participants