-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (33 loc) · 666 Bytes
/
tox.ini
File metadata and controls
37 lines (33 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
install_command = pip install {opts} {packages}
envlist = py35,pypy35,lint
indexserver =
default = https://pypi.python.org/simple
[testenv]
usedevelop = True
commands =
rm -f .coverage
py.test --cov=kanren -vv {posargs:kanren}
deps =
-r{toxinidir}/requirements.txt
coverage
nose
pytest
pytest-cov
whitelist_externals =
rm
[testenv:lint]
deps =
flake8
commands =
flake8 kanren
basepython = python3.5
[testenv:yapf]
# Tox target for autoformatting the code for pep8.
deps =
yapf
commands =
yapf --recursive kanren --in-place
basepython = python3.5
[flake8]
ignore = E731,F811,E712,E127,E126,C901,W503,W504