Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9338309
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
602 B
Subscribers
None
View Options
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
Details
Attached
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
Attached To
rDARC Software Heritage Archiver
Event Timeline
Log In to Comment