docs: cleanup: Rephrase and correct typos
[barectf.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 9ffd60ef4fb33c83d8e2f863d9e19c7c08f9e6b5..68883ec51f5b6ba794b80fe93054f804f03f3bc5 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,22 +1,28 @@
 [tox]
-minversion = 3.3
+minversion = 3.18
 isolated_build = true
 envlist = tests
 skipsdist = True
 
 [testenv]
-whitelist_externals = poetry
-passenv = TERM TERMINFO
+allowlist_externals = poetry
+passenv =
+    CC
+    C_INCLUDE_PATH
+    LIBRARY_PATH
+    TERM
+    TERMINFO
 
 [testenv:tests]
 changedir = tests
 commands =
     poetry install -v
-    poetry run bash ./test.bash -t
+    poetry run py.test -v .
 
 [testenv:flake8]
-deps = flake8 >= 2.5
-commands = flake8 barectf
+commands =
+    poetry install -v
+    poetry run flake8 barectf
 
 [flake8]
 # E123, E125 skipped as they are invalid PEP-8.
@@ -27,7 +33,11 @@ builtins = _
 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
 
 [testenv:pylint]
-deps = pylint >= 1.6
 commands =
     poetry install -v
     poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf
+
+[testenv:mypy]
+commands =
+    poetry install -v
+    poetry run mypy barectf
This page took 0.022408 seconds and 4 git commands to generate.