From c2fa4a9a6d5d4a10c4cf341fd885a176a38c76f8 Mon Sep 17 00:00:00 2001 From: konstantin Date: Sun, 5 May 2024 16:20:35 +0200 Subject: [PATCH] chore: move pytest section from setup.cfg to pyproject.toml --- pyproject.toml | 3 +++ setup.cfg | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9bcf024..c739c0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,5 @@ +[tool.pytest.ini_options] +addopts = "--strict-markers --cov aiostream" + [tool.pyright] ignore = ["aiostream/test_utils.py"] diff --git a/setup.cfg b/setup.cfg index d3728a1..f327de7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,15 +1,9 @@ -[tool:pytest] -addopts = tests --strict-markers --cov aiostream - [coverage:report] exclude_lines = pragma: no cover if TYPE_CHECKING: \.\.\. -[aliases] -test = pytest - [flake8] max-line-length = 88 ignore = F401, F403, E731, W503, E501, E203