about summary refs log tree commit diff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-05-30 01:00:36 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-05-30 01:00:36 +0900
commit69d9939ccfcd6c441956dbcd0bef04fabc9cf5c4 (patch)
tree7c7e8e1462c85a3a8474f4c8bbb5f7ba467eec0b /pyproject.toml
parentdcb363d429b7c284946e04c53f1fc21456e8faff (diff)
downloadscadere-69d9939ccfcd6c441956dbcd0bef04fabc9cf5c4.tar.gz
Revert use of pytest-{cov,xdist}
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 11c5c89..60291a8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,12 +27,11 @@ Source = 'https://trong.loang.net/scadere'
 Inbox = 'https://loa.loang.net/chung'
 
 [project.optional-dependencies]
-dev = [ 'flake8',
+dev = [ 'coverage',
+        'flake8',
         'hypothesis',
         'pytest',
         'pytest-asyncio',
-        'pytest-cov',
-        'pytest-xdist',
         'trustme >= 1.2.0' ]
 
 [project.scripts]
@@ -40,7 +39,6 @@ scadere-check = 'scadere.check:main'
 scadere-listen = 'scadere.listen:main'
 
 [tool.pytest.ini_options]
-addopts = '-n auto --cov=.'
 asyncio_mode = 'auto'
 asyncio_default_fixture_loop_scope = 'function'
 testpaths = [ 'tst' ]
@@ -48,6 +46,8 @@ verbosity_assertions = 2
 
 [tool.coverage.run]
 branch = true
+command_line = '-m pytest'
+source = [ '.' ]
 
 [tool.coverage.report]
 fail_under = 100