Skip to content

Commit 3ba4d97

Browse files
committed
packaging(pytest): Move configuration to pyproject.toml
1 parent 9e2621c commit 3ba4d97

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,18 @@ combine-as-imports = true
184184
"src/tmuxp/cli/*.py" = ["PTH"]
185185
"docs/_ext/aafig.py" = ["PTH"]
186186

187+
[tool.pytest.ini_options]
188+
addopts = "--reruns=0 --tb=short --no-header --showlocals --doctest-modules"
189+
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
190+
testpaths = [
191+
"src/tmuxp",
192+
"tests",
193+
"docs",
194+
]
195+
filterwarnings = [
196+
"ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::",
197+
]
198+
187199
[build-system]
188200
requires = ["poetry_core>=1.0.0"]
189201
build-backend = "poetry.core.masonry.api"

setup.cfg

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

0 commit comments

Comments
 (0)