black_notes
This is an old revision of the document!
configure pycharm with black
File -> Settings -> Tools -> External Tools -> click on + sign -> Name = Black Description = Black in pycharm configuration Program: C:\ProgramData\Continuum\Anaconda\envs\[ENV_NAME]\Scripts\black.exe Arguments: $FilePath$ Working directory: $ProjectFileDir$
Ref:-
- - simpler implementation; works with GNU sed. Tested it on Windows 10 + git bash + GNU sed 4.7.
- https://godatadriven.com/blog/partial-python-code-formatting-with-black-pycharm/ - well explained; His script is a bit complex and the sed commands are mac specific.
useful links
- https://black.now.sh/ - Black Playground; To try black online
- code repo - https://github.com/psf/black
black_notes.1611865984.txt.gz · Last modified: 2021/01/28 20:33 by raju