diff --git a/pyproject.toml b/pyproject.toml index 48532593..5c736dfd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,15 +99,16 @@ rendercv = 'rendercv.cli:app' # Virtual Environment Dependencies: [dependency-groups] dev = [ - 'ruff>=0.14.1', # Lint and format the code - 'black>=25.9.0', # Format the code - 'pyright>=1.1.406', # Type checking - 'pre-commit>=4.3.0', # Run checks before committing - 'pytest>=8.4.2', # Run tests - 'coverage>=7.11.0', # Generate coverage reports - 'pypdf>=6.1.3', # Read PDF files - 'snakeviz>=2.2.2', # Profiling + 'ruff>=0.14.1', # Lint and format the code + 'black>=25.9.0', # Format the code + 'pyright>=1.1.406', # Type checking + 'pre-commit>=4.3.0', # Run checks before committing + 'pytest>=8.4.2', # Run tests + 'coverage>=7.11.0', # Generate coverage reports + 'pypdf>=6.1.3', # Read PDF files + 'snakeviz>=2.2.2', # Profiling 'pyinstaller>=6.16.0', # Build executables + "pytest-xdist>=3.8.0", ] docs = [ 'mkdocs-material>=9.6.20', @@ -200,10 +201,11 @@ exclude_lines = ['if __name__ == .__main__.:'] log_cli_level = 'INFO' xfail_strict = true addopts = [ - '-ra', # Show extra test summary info - '-v', # Increase verbosity - '--strict-markers', # Disallow unknown markers - '--strict-config', # Fail on unknown config options + '-ra', # Show extra test summary info + '-v', # Increase verbosity + '--strict-markers', # Disallow unknown markers + '--strict-config', # Fail on unknown config options + '--numprocesses=auto', # Number of processes in parallel ] testpaths = ['tests'] diff --git a/uv.lock b/uv.lock index a0d8e040..6471450b 100644 --- a/uv.lock +++ b/uv.lock @@ -348,6 +348,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" }, ] +[[package]] +name = "execnet" +version = "2.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bb/ff/b4c0dc78fbe20c3e59c0c7334de0c27eb4001a2b2017999af398bf730817/execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3", size = 166524, upload-time = "2024-04-08T09:04:19.245Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc", size = 40612, upload-time = "2024-04-08T09:04:17.414Z" }, +] + [[package]] name = "filelock" version = "3.20.0" @@ -1186,6 +1195,19 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a8/a4/20da314d277121d6534b3a980b29035dcd51e6744bd79075a6ce8fa4eb8d/pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79", size = 365750, upload-time = "2025-09-04T14:34:20.226Z" }, ] +[[package]] +name = "pytest-xdist" +version = "3.8.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "execnet" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/78/b4/439b179d1ff526791eb921115fca8e44e596a13efeda518b9d845a619450/pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1", size = 88069, upload-time = "2025-07-01T13:30:59.346Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ca/31/d4e37e9e550c2b92a9cbc2e4d0b7420a27224968580b5a447f420847c975/pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88", size = 46396, upload-time = "2025-07-01T13:30:56.632Z" }, +] + [[package]] name = "python-dateutil" version = "2.9.0.post0" @@ -1325,6 +1347,7 @@ dev = [ { name = "pypdf" }, { name = "pyright" }, { name = "pytest" }, + { name = "pytest-xdist" }, { name = "ruff" }, { name = "snakeviz" }, ] @@ -1367,6 +1390,7 @@ dev = [ { name = "pypdf", specifier = ">=6.1.3" }, { name = "pyright", specifier = ">=1.1.406" }, { name = "pytest", specifier = ">=8.4.2" }, + { name = "pytest-xdist", specifier = ">=3.8.0" }, { name = "ruff", specifier = ">=0.14.1" }, { name = "snakeviz", specifier = ">=2.2.2" }, ]