-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
66 lines (48 loc) · 1.23 KB
/
tox.ini
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tox]
# Python environments
envlist = py36, py37, py38
skip_missing_interpreters = true
[flake8]
ignore =
# Ignore over-indented line continuations (conflicts with pylint)
E126,
# One blank line after a function def is FINE
E302,
# Sometimes, multiple import on one line look better/make sense
E401,
# Don't care about module-level imports. we generally keep 'em *towards* the top ;)
E402,
# Ignore line length errors
E501,
# This is changing, so ignore it for now
W503,
# Ignore line breaks after binary operators
W504,
exclude =
.git
.tox
*lib/python*
test_data
working_directory/
[pytest]
python_files = *.py
norecursedirs =
.*
build
dist
*.egg
venv
test_data
working_directory
[testenv]
passenv = GITHUB_ACCESS_TOKEN
deps = pytest-mock
pytest-cov
pytest-flake8
pytest-pylint
commands = pytest {posargs} --flake8 --pylint --junitxml=junit-{envname}.xml \
--cov=kodi_game_scripting \
--cov-config=.coveragerc \
--cov-branch \
--cov-report=term-missing \
--cov-report=html