Skip to content

Commit 9ddb3eb

Browse files
authored
packaging(pytest): Move configuration to pyproject.toml (#886)
2 parents 9e2621c + 46ae261 commit 9ddb3eb

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
1919

2020
<!-- Maintainers, insert changes / features for the next release here -->
2121

22+
### Packaging
23+
24+
- Move pytest configuration to `pyproject.toml` (#886)
25+
2226
## tmuxp 1.31.0 (2023-09-23)
2327

2428
### Breaking changes

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)