forked from tensorflow/lucid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (60 loc) · 1.1 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
[tox]
envlist = py{27,36}
[testenv]
deps =
tensorflow
.[test]
commands = coverage run --source lucid --omit lucid/scratch/*,lucid/recipes/*,lucid/misc/gl/* -m py.test --run-slow {posargs}
[pytest]
addopts = --verbose
testpaths = ./tests/
[flake8]
inline-quotes = double
max-line-length = 88
max-complexity = 10
exclude = .git,
.tox,
.pytest_cache,
bin,
include,
lib,
__pycache__
# Stuff we ignore thanks to black: https://github.com/ambv/black/issues/429
ignore = E111,
E121,
E122,
E123,
E124,
E125,
E126,
E201,
E202,
E203,
E221,
E222,
E225,
E226,
E227,
E231,
E241,
E251,
E261,
E262,
E265,
E271,
E272,
E302,
E303,
E306,
E501,
E502,
E701,
E702,
E703,
E704,
W291,
W292,
W293,
W391,
W503,
E402 # no top-level module imports