forked from beancount/fava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (37 loc) · 768 Bytes
/
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
[tox]
envlist = lint, py
[testenv]
deps =
pytest
coverage: pytest-cov
py-dev: hg+https://bitbucket.org/blais/beancount#egg=beancount
commands = pytest {posargs:tests}
passenv = SNAPSHOT_UPDATE
[testenv:py]
extras = excel
[testenv:coverage]
commands = pytest --cov=fava tests
[testenv:docs]
deps =
sphinx
sphinx_autodoc_typehints
commands =
python docs/generate.py
sphinx-build -b html docs build/docs
[testenv:format]
skip_install = True
deps = black
commands = black .
[testenv:lint]
deps =
black
flake8
pylint>=2.4.1
pytest
commands =
black --check {posargs:contrib fava setup.py tests}
flake8 {posargs:fava tests}
pylint {posargs:fava setup.py tests}
[flake8]
exclude = node_modules
ignore = E203,W503