[flake8] max-line-length = 100 exclude = fietsboek/alembic per-file-ignores = fietsboek/models/__init__.py:F401 [tox] envlist = python,pylint,pylint-tests,flake8 [testenv] deps = pytest lxml: lxml extras = testing passenv = TERM commands = pytest {posargs} [testenv:pylint] deps = pylint usedevelop = true commands = pylint --rcfile=pylint.toml fietsboek [testenv:pylint-tests] deps = pylint usedevelop = true allowlist_externals = bash commands = bash -c "pylint --rcfile=pylint.tests.toml tests/**/*.py" [testenv:flake8] deps = flake8 usedevelop = true commands = flake8 fietsboek [testenv:sphinx] deps = sphinx usedevelop = true allowlist_externals = make changedir={toxinidir}{/}doc commands = make html