-
Notifications
You must be signed in to change notification settings - Fork 22
/
tox.ini
54 lines (49 loc) · 922 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
45
46
47
48
49
50
51
52
53
54
[tox]
envlist =
{py36,py37,py38}-tests,check-lint,docs
[testenv]
usedevelop = True
extras =
test
passenv =
tests: PYTEST_ADDOPTS
commands =
pip freeze -l
pytest
[testenv:check-lint]
extras =
test
lint
ignore_errors=true
commands =
mypy vault_cli
flake8 .
isort --check .
black --check .
[testenv:format]
extras =
dev
test
commands =
isort .
black .
[testenv:docs]
extras =
docs
commands =
sphinx-build -EW docs docs/_build/html {posargs}
doc8 docs
[testenv:docs-spelling]
extras =
async
docs
docs_spelling
whitelist_externals =
sort
commands =
sphinx-build -EW -b spelling docs docs/_build/html {posargs}
doc8 docs
# wordlist should be sorted to avoid duplicates
# If this line breaks, fix with:
# sort -bdfi docs/spelling_wordlist.txt -o docs/spelling_wordlist.txt
sort -cbdfi docs/spelling_wordlist.txt