Add make stylediff command and run it in tox (#3535)

* Update Makefile

* Update make.bat

* Update tox.ini
This commit is contained in:
jack1142
2020-02-14 15:09:52 +01:00
committed by GitHub
parent 066bf516d9
commit 9e1f358f82
3 changed files with 7 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ exit /B %ERRORLEVEL%
black --check !PYFILES!
exit /B %ERRORLEVEL%
:stylediff
black --check --diff !PYFILES!
exit /B %ERRORLEVEL%
:newenv
py -3.8 -m venv --clear .venv
.\.venv\Scripts\python -m pip install -U pip setuptools