black/docs
Antonio Ossa-Guerra 6b42c2b8c9
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>
2022-09-26 17:45:34 -04:00
..
_static Switch to Furo (#2793) 2022-01-21 15:00:13 -08:00
compatible_configs Update pylint config docs (#2931) 2022-03-16 10:00:30 -07:00
contributing Fix a crash when # fmt: on is used on a different block level than # fmt: off (#3281) 2022-09-23 20:37:22 -07:00
guides Convert index.rst and license.rst to markdown (#2852) 2022-03-30 13:43:46 -07:00
integrations Add option to format Jupyter Notebooks in GitHub Action (#3282) 2022-09-26 17:45:34 -04:00
the_black_code_style Make context manager examples in future style docs consistent (#3274) 2022-09-22 20:19:31 -07:00
usage_and_configuration Switch build backend to Hatchling (#3233) 2022-09-25 17:54:33 -04:00
authors.md Fix and test docs on Windows (#2262) 2021-05-26 19:04:10 -07:00
change_log.md Fix and test docs on Windows (#2262) 2021-05-26 19:04:10 -07:00
conf.py docs: adds ExitStack alternative to future_style.md (#3247) 2022-08-31 21:25:13 -07:00
faq.md Switch build backend to Hatchling (#3233) 2022-09-25 17:54:33 -04:00
getting_started.md Fix outdated references to 3.6 and run pyupgrade (#3286) 2022-09-25 17:24:18 -07:00
index.md Convert index.rst and license.rst to markdown (#2852) 2022-03-30 13:43:46 -07:00
license.md Convert index.rst and license.rst to markdown (#2852) 2022-03-30 13:43:46 -07:00
make.bat add sphinx docs skeleton (#71) 2018-03-23 14:27:04 -07:00
Makefile Add EOF and trailing whitespace fixer to pre-commit config (#2330) 2021-06-13 10:22:46 -07:00
requirements.txt Bump sphinx from 5.1.1 to 5.2.1 in /docs (#3288) 2022-09-26 09:48:50 -07:00