summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tox.ini15
1 files changed, 15 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..dc0a5be
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,15 @@
+[tox]
+envlist = py{36, 37, 38, 39, 310}, lint
+
+[testenv]
+deps =
+ pytest
+ pytest-cov
+ wcag-contrast-ratio
+commands = pytest {posargs}
+
+
+[testenv:lint]
+deps =
+ git+https://github.com/pygments/regexlint.git@master
+commands = regexlint pygments.lexers