keewis / blackdoc

run black on documentation code snippets
https://blackdoc.readthedocs.io
MIT License
47 stars 4 forks source link

blackdoc reads and uses black setting in pyproject.toml. #40

Closed keisuke-umezawa closed 4 years ago

keisuke-umezawa commented 4 years ago

black uses the setting in pyproject.toml. I hope blackdoc will use it as default.

keewis commented 4 years ago

I agree this would be useful.

Right now, blackdoc will not read any configuration file at all, so there's a lot that would need to be done. I will get to this as part of the work on #33, but it might take a while.