Skip to content

Commit a5e7163

Browse files
committed
packaging(pytest): Move configuration to pyproject.toml
1 parent ec6817c commit a5e7163

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,17 @@ combine-as-imports = true
187187
[tool.ruff.per-file-ignores]
188188
"*/__init__.py" = ["F401"]
189189

190+
[tool.pytest.ini_options]
191+
addopts = "--tb=short --no-header --showlocals"
192+
testpaths = [
193+
"src/vcspull",
194+
"tests",
195+
"docs",
196+
]
197+
filterwarnings = [
198+
"ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::",
199+
]
200+
190201
[build-system]
191202
requires = ["poetry_core>=1.0.0", "setuptools>50"]
192203
build-backend = "poetry.core.masonry.api"

setup.cfg

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

0 commit comments

Comments
 (0)