keewis / blackdoc

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

read settings from a config file #45

Closed keewis closed 4 years ago

keewis commented 4 years ago

This changes the CLI to read default configuration settings from a user provided config file or the project's pyproject.toml (if it exists).

For that to work, we have to run the argparse parser twice. Should we switch to click, which is used by black?