Add a makefile for helping with style checking and reformatting (#1665)

* Add a makefile

* Add make.bat

* Slightly modify Palm's makefile

* Use make in tox

* Minimise diff and refactor PATHEXT

* Fix a typo in make.bat
This commit is contained in:
palmtree5
2018-05-22 16:44:11 -08:00
committed by Will
parent 4378e5295d
commit c42e9d4c5c
3 changed files with 42 additions and 2 deletions

4
Makefile Normal file
View File

@@ -0,0 +1,4 @@
reformat:
black -l 99 `git ls-files "*.py"`
stylecheck:
black --check -l 99 `git ls-files "*.py"`