Page MenuHomeSoftware Heritage

No OneTemporary

diff --git a/.gitignore b/.gitignore
index 96d9bbb..d7f6a20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,13 @@
*.pyc
*.sw?
*~
.coverage
.eggs/
__pycache__
*.egg-info/
version.txt
logs/
archives/
build/
dist/
+.tox/
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..0fb07c6
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,16 @@
+[tox]
+envlist=flake8,py3
+
+[testenv:py3]
+deps =
+ .[testing]
+ pytest-cov
+commands =
+ 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, 6:24 PM (5 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3250919

Event Timeline