]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tox: Turn deprecation notices into warnings
authorStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:17:48 +0000 (21:17 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:17:48 +0000 (21:17 +0100)
commit9db5cd0b9f29e0526656897793daed3c7b502b2f
tree2aa3ab41aa6b3f580ee00e0eef07181412afec27
parentac4b3b87144189882611ad3d19b836247a0406bb
tox: Turn deprecation notices into warnings

Django does an excellent job of marking what features are going to
change in upcoming releases through extensive use of the 'warnings' module.

Pass the '-Werror' flag to 'manage.py' in tests, ensuring that any
warnings will result in exceptions instead. This should make upgrades a
mostly painless process going forward.

Signed-off-by: Stephen Finucane <stephen@that.guru>
tox.ini