tox.ini 303 B

123456789101112131415161718192021
  1. [tox]
  2. envlist=static,format
  3. skipsdist=True
  4. [testenv]
  5. whitelist_externals=
  6. /usr/bin/sh
  7. /usr/bin/test
  8. [testenv:format]
  9. deps=
  10. black
  11. commands=
  12. black -S --check deoldify
  13. [testenv:static]
  14. deps=
  15. -rrequirements.txt
  16. pylint
  17. commands=
  18. sh -c 'pylint --disable=W deoldify; test $(( $? & (1|2|4|32) )) = 0'