From 1602964b1c7f4961763dfad6997949d97c0eb017 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Mon, 25 Apr 2022 02:32:59 +0300 Subject: [PATCH] Update tox.ini: adjust py envs for Ubuntu Bionic, separate basic linting and lint depends. --- tox.ini | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index 2d9f7a8..a70d4d4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,25 +1,31 @@ [tox] -envlist = reset,py{37,38,39},stats +envlist = reset,py{36,37,38,39},stats skip_missing_interpreters = true [testenv] -deps = - bandit - flake8 - pylint - -rrequirements.txt +deps = -rrequirements.txt commands = coverage run -a -m tests +[testenv:lint-basic] +deps = flake8 +commands = + flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics + [testenv:reset] +deps = + coverage + bandit + flake8 + pylint commands = coverage erase - flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics flake8 minode --count --statistics pylint minode --exit-zero --rcfile=tox.ini bandit -r --exit-zero -x tests minode [testenv:stats] +deps = coverage commands = coverage report coverage xml