From 35f8f44072606dc2d4fc02d61187e3fb7f8b0dc0 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Mon, 9 Jun 2025 13:27:32 +0100
Subject: [PATCH] added tox file

---
 tox.ini | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 tox.ini

diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..e98a1cd
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,24 @@
+[tox]
+envlist = py310
+
+[flake8]
+max-line-length = 120
+
+[testenv]
+deps =
+    coverage
+    flake8
+    mypy
+    black
+    -r requirements.txt
+
+commands =
+    coverage erase
+    coverage run --source neurons_client -m pytest neurons_client/ test/
+    coverage xml
+    coverage html
+    coverage report --fail-under 80
+    black --check .
+    flake8 neurons_client/ test/
+    mypy neurons_client
+    sphinx-build -b html docs/source docs/build
-- 
GitLab