Skip to content

Commit 59c8e1e

Browse files
committed
packaging(pytest): Move configuration to pyproject.toml
1 parent 3813c78 commit 59c8e1e

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,19 @@ combine-as-imports = true
153153
[tool.ruff.per-file-ignores]
154154
"*/__init__.py" = ["F401"]
155155

156+
[tool.pytest.ini_options]
157+
addopts = "--tb=short --no-header --showlocals --doctest-docutils-modules --reruns 2 -p no:doctest"
158+
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
159+
testpaths = [
160+
"src/libtmux",
161+
"tests",
162+
"docs",
163+
"README.md",
164+
]
165+
filterwarnings = [
166+
"ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::",
167+
]
168+
156169
[build-system]
157170
requires = ["poetry_core>=1.0.0"]
158171
build-backend = "poetry.core.masonry.api"

setup.cfg

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)