]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add option to format Jupyter Notebooks in GitHub Action (#3282)
authorAntonio Ossa-Guerra <aaossa@uc.cl>
Mon, 26 Sep 2022 21:45:34 +0000 (18:45 -0300)
committerGitHub <noreply@github.com>
Mon, 26 Sep 2022 21:45:34 +0000 (17:45 -0400)
commit6b42c2b8c9f9bd666120a2c19b8da509fe477f27
treeb4036e705dd40aec79c8755c3e04a169c3bcaa53
parent1f2ad77505337ee68ed5236fc5621cf0690e783c
Add option to format Jupyter Notebooks in GitHub Action (#3282)

To run the formatter on Jupyter Notebooks, Black must be installed
with an extra dependency (`black[jupyter]`). This commit adds an
optional argument to install Black with this dependency when using the
official GitHub Action [1]. To enable the formatter on Jupyter
Notebooks, just add `jupyter: true` as an argument. Feature requested
at [2].

[1]: https://black.readthedocs.io/en/stable/integrations/github_actions.html
[2]: https://github.com/psf/black/issues/3280

Signed-off-by: Antonio Ossa Guerra <aaossa@uc.cl>
AUTHORS.md
CHANGES.md
action.yml
action/main.py
docs/integrations/github_actions.md