From 16c4f253e09698c8f3665000f73bee1f77a89b3b Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Tue, 11 Jul 2023 03:42:03 -0400 Subject: [PATCH] Add __init__ and update pyproject pytest flag (#190) * Expand flag to full name * Add missing __init__ file --- pyproject.toml | 4 ++-- tests/integration/__init__.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 tests/integration/__init__.py diff --git a/pyproject.toml b/pyproject.toml index bb5f3a5..1f61d5e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ html = ["markdownify"] [tool.poe.tasks] black = "black" ruff = "ruff" -pytest.cmd = "py.test -s --durations=5 -W error::RuntimeWarning --cov --cov-config=.coveragerc --cov-report xml --cov-report term-missing:skip-covered" +pytest.cmd = "py.test --capture=no --durations=5 -W error::RuntimeWarning --cov --cov-config=.coveragerc --cov-report xml --cov-report term-missing:skip-covered" mypy = "mypy . --pretty --show-error-codes" fix = { shell = "poe black . && poe ruff --fix ." } fix_docs = "black docs" @@ -61,7 +61,7 @@ fix_strings = "black kor --preview" test = { shell = "poe black . --check --diff && poe ruff . && poe pytest && poe mypy" } # Use to auto-generate docs apidoc = "sphinx-apidoc -o docs/source/generated kor" -pyintegration = { shell = "py.test -s ./tests/integration/*.py" } +pyintegration = { shell = "py.test --capture=no ./tests/integration/*.py" } integration = { shell = "poe black . --check --diff && poe ruff . && poe pyintegration && poe mypy" } [tool.ruff] diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py new file mode 100644 index 0000000..e69de29