From 69d9939ccfcd6c441956dbcd0bef04fabc9cf5c4 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 30 May 2025 01:00:36 +0900 Subject: Revert use of pytest-{cov,xdist} --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyproject.toml') 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 -- cgit 1.4.1