Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7343077
D578.id1771.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
460 B
Subscribers
None
D578.id1771.diff
View Options
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
dist/
.hypothesis
.pytest_cache
+.tox/
diff --git a/tox.ini b/tox.ini
new file mode 100644
--- /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
Details
Attached
Mime Type
text/plain
Expires
Mar 17 2025, 7:10 PM (7 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221971
Attached To
D578: Add tox.ini file and migrate to pytest
Event Timeline
Log In to Comment