Browse Source

Added basic tox.ini

Fabrizio Furnari 9 months ago
parent
commit
7116969a39
1 changed files with 17 additions and 0 deletions
  1. 17 0
      tox.ini

+ 17 - 0
tox.ini

@@ -0,0 +1,17 @@
+[tox]
+env_list =
+    py311
+minversion = 4.26.0
+
+[testenv]
+description = run the tests with pytest
+package = wheel
+wheel_build_env = .pkg
+deps =
+    pytest>=6
+commands =
+    pytest {tty:--color=yes} {posargs}
+
+[flake8]
+exclude = .eggs, .tox, venv
+max-line-length = 100