File: tox4

package info (click to toggle)
rdflib-sqlalchemy 0.5.4%2Bgit99f4689-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,544 kB
  • sloc: python: 2,418; sh: 20; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 712 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Stefano Rivera <stefanor@debian.org>
Date: Fri, 11 Aug 2023 17:54:07 +0200
Subject: Support tox 4

External commands need to be listed in allowlist_externals. We can
trivially drive pytest without executing an external command.

Forwarded: https://github.com/RDFLib/rdflib-sqlalchemy/pull/102
Bug-Debian: https://bugs.debian.org/1042917
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index 01a6e87..2a72915 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ envlist =
 passenv = DB,DBURI
 commands =
     {envpython} setup.py clean --all
-    pytest --cov=rdflib_sqlalchemy
+    {envpython} -m pytest --cov=rdflib_sqlalchemy
 
 deps =
     pytest>=3.4.0