From 10999e38d2ad5278abd630dcdfbfb23a145b0344 Mon Sep 17 00:00:00 2001 From: Maximilian Moser <maximilian.moser@tuwien.ac.at> Date: Thu, 19 Sep 2024 19:21:02 +0200 Subject: [PATCH] Add pytest-ruff for testing --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3ae146d..4d7a04c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,7 @@ tests = [ "invenio-search[opensearch2]>=2.0.0", "pytest-black>=0.3.0,<0.3.10", "pytest-invenio>=1.4.0", + "pytest-ruff>=0.4.1", "sphinx>=4.5", ] @@ -67,7 +68,7 @@ messages = "invenio_utilities_tuw" profile = "black" [tool.pytest.ini_optiions] -addopts = '--black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_utilities_tuw --cov-report=term-missing' +addopts = '--ruff --black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_utilities_tuw --cov-report=term-missing' testpaths = "docs tests invenio_utilities_tuw" [tool.pydocstyle] -- GitLab