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

@@ -5,6 +5,8 @@ reformat:
$(PYTHON) -m black `git ls-files "*.py"`
stylecheck:
$(PYTHON) -m black --check `git ls-files "*.py"`
stylediff:
$(PYTHON) -m black --check --diff `git ls-files "*.py"`
# Translations
gettext: