From d5c38b4d725f3492390a992580de391768f388a3 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 23 Oct 2022 21:42:17 +0200 Subject: [PATCH] Migrate pytest config into pyproject.toml --- pyproject.toml | 3 +++ setup.cfg | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 431834f0bc..04eb917dad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,3 +66,6 @@ codespell_lib = [ [tool.check-manifest] ignore = ["codespell_lib/_version.py"] + +[tool.pytest.ini_options] +addopts = "--cov=codespell_lib -rs --cov-report= --tb=short --junit-xml=junit-results.xml" diff --git a/setup.cfg b/setup.cfg index 9776335475..ae7e595a3b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[tool:pytest] -addopts = --cov=codespell_lib -rs --cov-report= --tb=short --junit-xml=junit-results.xml - [flake8] exclude = build, ci-helpers ignore = W503