Support ability to run blackbook over a single file
Currently it seems that there is no way to run blackbook over a specific file path. Attempting to format a single notebook at path path/to/notebooks/Example-Notebook.ipynb fails to do anything
text
$ pip freeze | grep blackbook
blackbook==0.0.5
$ blackbook path/to/notebooks/Example-Notebook.ipynb
2019-11-29 14:00:14.403 | INFO | blackbook.__main__:main:25 - All done! 📖
2019-11-29 14:00:14.403 | INFO | blackbook.__main__:main:27 - 0 notebooks reformatted. 0 left unchanged.
where running
text
$ blackbook path/to/notebooks/
2019-11-29 14:05:26.204 | INFO | blackbook.__main__:main:25 - All done! 📖
2019-11-29 14:05:26.205 | INFO | blackbook.__main__:main:27 - 1 notebooks reformatted. 0 left unchanged.
It would be nice to add support for targeting a single file, in the same way that Black does.