From 95ea72f8d164e6c26eb83c4ea6452c75e1cdab68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20J=C4=99drecki?= Date: Thu, 14 May 2026 13:28:49 +0200 Subject: [PATCH] Move pytest settings to pyproject.toml --- pyproject.toml | 6 ++++++ pytest.ini | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 pytest.ini diff --git a/pyproject.toml b/pyproject.toml index 65f43cafd..47923092d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,11 @@ packages = [ "splunklib.ai.engines", ] +[tool.pytest.ini_options] +markers = ["app: requires sdk-app-collection", "smoke: essential smoke tests"] +junit_family = "xunit2" + + [tool.basedpyright] exclude = [".venv"] allowedUntypedLibraries = ["splunklib"] @@ -85,6 +90,7 @@ reportUnknownMemberType = false reportUnusedCallResult = false # https://docs.astral.sh/ruff/configuration/ + [tool.ruff] line-length = 100 diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index c09f1975e..000000000 --- a/pytest.ini +++ /dev/null @@ -1,7 +0,0 @@ -[pytest] -markers = - app: requires sdk-app-collection - smoke: essential smoke tests - -junit_family = - xunit2