Skip to content

Commit 6443d37

Browse files
committed
Move pytest config to pyproject.toml
1 parent 13ca008 commit 6443d37

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,14 @@ target-version = "py37"
1414

1515
[tool.ruff.isort]
1616
force-single-line = true
17+
18+
[tool.pytest.ini_options]
19+
addopts = """
20+
--tb=short
21+
--cov-config .coveragerc
22+
--cov=vdirsyncer
23+
--cov-report=term-missing:skip-covered
24+
--no-cov-on-fail
25+
--color=yes
26+
"""
27+
# filterwarnings=error

setup.cfg

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
[tool:pytest]
2-
addopts =
3-
--tb=short
4-
--cov-config .coveragerc
5-
--cov=vdirsyncer
6-
--cov-report=term-missing:skip-covered
7-
--no-cov-on-fail
8-
--color=yes
9-
# filterwarnings=error
10-
111
[mypy]
122
ignore_missing_imports = True
133
# See https://github.com/python/mypy/issues/7511:

0 commit comments

Comments
 (0)