Consolidate CI tools into setup.cfg and drop tox

This commit is contained in:
Daniel Quinn
2018-02-25 15:51:59 +00:00
parent 1f68223752
commit a55a915439
3 changed files with 13 additions and 30 deletions

15
src/setup.cfg Normal file
View File

@@ -0,0 +1,15 @@
[pycodestyle]
exclude = migrations, paperless/settings.py
[tool:pytest]
DJANGO_SETTINGS_MODULE=paperless.settings
addopts = --pythonwarnings=all -n auto
env =
PAPERLESS_CONSUME=/tmp
PAPERLESS_PASSPHRASE=THISISNOTASECRET
PAPERLESS_SECRET=paperless
PAPERLESS_EMAIL_SECRET=paperless
[coverage:paths]
source = ./