forked from tdsmith/github-snooze-button
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (35 loc) · 670 Bytes
/
tox.ini
File metadata and controls
42 lines (35 loc) · 670 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
[tox]
envlist = clean, py27, py35, lint, coverage_report
[tox:travis]
2.7 = py27, lint
3.5 = py35, lint
[testenv]
commands = coverage run --source snooze -m py.test {posargs}
deps =
coverage
pytest
moto
responses
six
testfixtures
passenv = HOME
setenv =
AWS_ACCESS_KEY_ID=spam
AWS_SECRET_ACCESS_KEY=eggs
[testenv:clean]
commands = coverage erase
deps = coverage
skipsdist = True
[testenv:lint]
commands = flake8 snooze
deps = flake8
skipsdist = True
[testenv:coverage_report]
commands = coverage report -m
deps = coverage
skipsdist = True
[testenv:pypy]
[flake8]
max-line-length = 120
max-complexity = 10
ignore = E261, E226, E731