-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
44 lines (38 loc) · 800 Bytes
/
tox.ini
File metadata and controls
44 lines (38 loc) · 800 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
38
39
40
41
42
43
44
[tox]
envlist = py35,py36,py37,pep8,blake
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps =
coverage
fixtures
nose
nose-timer
commands =
nosetests \
--with-timer \
--with-coverage --cover-erase --cover-package=kojak
[testenv:pep8]
basepython = python3.6
deps = flake8
flake8-import-order
flake8-blind-except
flake8-builtins
flake8-docstrings
flake8-rst-docstrings
flake8-logging-format
commands = flake8
[testenv:bandit]
basepython = python3.6
deps = bandit
commands = bandit -r kojak
[flake8]
exclude = .tox,.eggs
show-source = true
ignore = D100,D101,D102,D103,D104
[testenv:black]
basepython = python3.6
deps = black
commands = black --check -l79 kojak/
[travis]
python = 3.6: py36, pep8