mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 19:49:02 +00:00
a6b1e6e9ab
Previously, as soon as an interpreter that wasn't the one having been used for `env` was used by tox, we would get errors because our C modules wouldn't be built for this interpreter. The makefile has been changed to make `make modules` interpreter-aware, thus fixing this problem.
24 lines
532 B
INI
24 lines
532 B
INI
[tox]
|
|
envlist = py34,py35
|
|
skipsdist = True
|
|
skip_missing_interpreters = True
|
|
|
|
[testenv]
|
|
whitelist_externals =
|
|
make
|
|
setenv =
|
|
PYTHON="{envpython}"
|
|
commands =
|
|
make modules
|
|
flake8
|
|
py.test core hscommon
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/requirements-extra.txt
|
|
|
|
[flake8]
|
|
exclude = .tox,env,build,hscommon,qtlib,cocoalib,cocoa,help,./qt/dg_rc.py,qt/run_template.py,cocoa/run_template.py,./run.py,./pkg
|
|
max-line-length = 120
|
|
ignore = W391,W293,E302,E261,E226,E227,W291,E262,E303,E265,E731,E305
|
|
|