forked from e3krisztian/bead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
61 lines (49 loc) · 1.08 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
[package]
name = bead
deps =
-rrequirements.txt
-rtest_requirements.txt
envs = py37,py38
# ###################################
# generic config
[tox]
# does not work since 1.8 :(
# envlist = {[package]envs}
envlist = py37,py38
skip_missing_interpreters = true
# do not require setup.py
skipsdist = true
[testenv]
# tox-2.0.1: UnicodeDecodeError in tox install if LC_ALL = C
setenv =
LC_ALL = en_US.utf-8
deps =
{[package]deps}
commands =
/bin/pwd
python --version
pytest --version
pytest --cov=. --cov-report=term-missing
flake8 bead bead_cli tests
[flake8]
# Disable pep8 "W503 line break before binary operator" (since pep8 1.6.2)
# "W504 line break after binary operator"
ignore = W503,W504,E251,E241,E221,E722
# E251 unexpected spaces around keyword / parameter equals
# E241 multiple spaces after ','
# E221 multiple spaces before operator
# E722 do not use bare except
max-line-length = 99
exclude =
.tox,
.git,
__pycache__,
test-env,
build,
dist,
*.pyc,
*.egg-info,
.cache,
.eggs,
./appdirs.py
max-complexity = 10