-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
25 lines (22 loc) · 613 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
[tox]
minversion = 1.6
skipsdist = True
envlist = lint
[testenv]
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY
usedevelop = False
install_command = pip install {opts} {packages}
[testenv:lint]
deps =
{env:BASHATE_INSTALL_PATH:bashate}
yamllint
allowlist_externals = bash
commands = bash -c "find {toxinidir} \
-not -path {toxinidir}/.tox/\* \
# E006 check for lines longer than 79 columns
-name \*.sh | xargs bashate -v -iE006"
bash -c "yamllint -c {toxinidir}/.yaml-lint.yml {toxinidir}"
[testenv:spell]
deps =
pyspelling
commands = pyspelling -c .spellcheck.yml