keewis / blackdoc

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

selectively enable / disable formats #13

Closed keewis closed 4 years ago

keewis commented 4 years ago

Right now, all registered formats will be used but it might make sense to allow selectively enabling / disabling certain formats. This would make it easier to, e.g. disable the rst format if one doesn't agree with it reformatting documentation, but still be able to blacken code with doctest / ipython prompts.