rickstaa / action-black

Runs the psf/black formatter to check/format your python code.
https://github.com/marketplace/actions/run-black-formatter
MIT License
38 stars 12 forks source link

Add jupyter notebook support. #12

Open rickstaa opened 2 years ago

rickstaa commented 2 years ago

It would be nice to add jupyter notebook support (see https://github.com/reviewdog/action-black/commit/e95a7c6979867f31be167afb02b6488a39dbe292).

PrashantDixit0 commented 2 months ago

You can add Jupyter Notebook support just by adding the following code under steps attribute in workflow

- name: Install Black
        run: pip install "black[jupyter]"