Files
DeOldify/tox.ini
T
Alexandre Vicenzi ca10d40306 Enforce code formating
With these changes Black and Pylint become a required check for every PR.
2019-10-23 17:10:17 +02:00

22 lines
303 B
INI

[tox]
envlist=static,format
skipsdist=True
[testenv]
whitelist_externals=
/usr/bin/sh
/usr/bin/test
[testenv:format]
deps=
black
commands=
black -S --check deoldify
[testenv:static]
deps=
-rrequirements.txt
pylint
commands=
sh -c 'pylint --disable=W deoldify; test $(( $? & (1|2|4|32) )) = 0'