summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini25
1 files changed, 25 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..cda8de4
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,25 @@
+[pytest]
+addopts = --doctest-modules --doctest-glob=*.rst
+
+[tox]
+envlist = python
+
+[testenv]
+deps = pytest
+passenv =
+ TERM
+commands =
+ pytest
+
+[testenv:pylint]
+deps = pylint
+commands =
+ pylint wikimini
+
+[testenv:mypy]
+deps =
+ mypy
+ types-requests
+ types-tabulate
+commands =
+ mypy --pretty wikimini