328a05df09f711ab013224a35d5bfbd161061d24
[releng.git] / jjb / kuberef / tox.ini
1 #!/bin/bash
2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2020 Samsung Electronics
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 [tox]
12 minversion = 3.5
13 skipsdist = True
14 envlist = lint
15
16 [testenv]
17 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
18 usedevelop = False
19 install_command = pip install {opts} {packages}
20
21 [testenv:lint]
22 deps =
23    {env:BASHATE_INSTALL_PATH:bashate}
24 whitelist_externals = bash
25 commands = bash -c "find {toxinidir} \
26    -not -path {toxinidir}/.tox/\* \
27 # E006 check for lines longer than 79 columns
28    -name \*.sh | xargs bashate -v -iE006"