https://github.com/tensorflow/lucid
Tip revision: 6dcc927e4ff4e7ef4d9c54d27b0352849dadd1bb authored by Ludwig Schubert on 19 March 2021, 15:48:33 UTC
v0.3.10: Use Github Actions for publishing Releases
v0.3.10: Use Github Actions for publishing Releases
Tip revision: 6dcc927
tox.ini
[tox]
envlist = py{37}
[testenv]
deps =
tensorflow == 1.15.5
.[test]
commands = coverage run --source lucid --omit lucid/scratch/*,lucid/recipes/*,lucid/misc/gl/* -m py.test {posargs}
[coverage:run]
relative_files = True
[pytest]
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
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