Page MenuHomeSoftware Heritage

No OneTemporary

diff --git a/.gitignore b/.gitignore
index ae9e251..25618c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,11 @@
*.pyc
*.sw?
*~
.coverage
.eggs/
__pycache__
build/
dist/
*.egg-info
version.txt
+.tox/
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..2b7ebf0
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+envlist=flake8,py3
+
+[testenv:py3]
+deps =
+ .[testing]
+ pifpaf
+ pytest-cov
+commands =
+ pifpaf run postgresql -- pytest --cov=swh --cov-branch {posargs}
+
+[testenv:flake8]
+skip_install = true
+deps =
+ flake8
+commands =
+ {envpython} -m flake8

File Metadata

Mime Type
text/x-diff
Expires
Jul 4 2025, 8:42 AM (7 w, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3270244

Event Timeline