Skip to content
#

yapf

Here are 31 public repositories matching this topic...

black
ichard26
ichard26 commented Apr 14, 2022

Perhaps we should document this issue in the FAQ? Using pre-commit with Black is pretty common (and it's not always instantly clear it passes all of the files to the hook directly bypassing any file discovery the hook may implement). I'd suggest pre-commit's exclude configurations first, and then black's force-exclude.

_Originally posted by @ichard26 in psf/black#3013

good first issue T: documentation C: integrations C: file collection
ianozsvald
ianozsvald commented Aug 20, 2021

Is there a how-to guide to write my own tool? I want to do some conditional stripping/modifying (e.g. insert a Python script into a cell) for a Kaggle notebook. I've been playing around for an hour and I've sort-of-got a tool working, but I can't get nbqa to pass in anything I can read. In my code sys.argv has the original Notebook filename and if I rewrite that, nbqa throws an exception.k

documentation good first issue

Improve this page

Add a description, image, and links to the yapf topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the yapf topic, visit your repo's landing page and select "manage topics."

Learn more