mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Add back tox
This commit is contained in:
parent
ed36070e92
commit
7040d13f76
22
src/tox.ini
Normal file
22
src/tox.ini
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
||||||
|
# in multiple virtualenvs. This configuration file will run the
|
||||||
|
# test suite on all supported python versions. To use it, "pip install tox"
|
||||||
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
|
[tox]
|
||||||
|
skipsdist = True
|
||||||
|
envlist = py34, py35, py36, pycodestyle
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
commands = pytest
|
||||||
|
deps = -r{toxinidir}/../requirements.txt
|
||||||
|
|
||||||
|
[testenv:pycodestyle]
|
||||||
|
commands=pycodestyle
|
||||||
|
deps=pycodestyle
|
||||||
|
|
||||||
|
[pycodestyle]
|
||||||
|
exclude=
|
||||||
|
.tox,
|
||||||
|
migrations,
|
||||||
|
paperless/settings.py
|
Loading…
x
Reference in New Issue
Block a user