3 ms·
You can run this on pre-commit. While you can set PyCharm to run on file save, it is not guaranteed to run on all files. By using a command line tool, you can
by philosopherlawr 8y ago
You can run this on pre-commit. While you can set PyCharm to run on file save, it is not guaranteed to run on all files. By using a command line tool, you can enforce that all files across your project are formatted this specific way and never let someone check in something that doesn't conform to it. If you have newbie developers, it can be a lifesaver.
- prawl 8y agoYou edit code, test it, and then have some program rewrite your code after testing but before it becomes an immutable commit hash?