mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Move pytest config to pyproject.toml
This commit is contained in:
parent
13ca008380
commit
6443d37c97
2 changed files with 11 additions and 10 deletions
|
|
@ -14,3 +14,14 @@ target-version = "py37"
|
||||||
|
|
||||||
[tool.ruff.isort]
|
[tool.ruff.isort]
|
||||||
force-single-line = true
|
force-single-line = true
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
addopts = """
|
||||||
|
--tb=short
|
||||||
|
--cov-config .coveragerc
|
||||||
|
--cov=vdirsyncer
|
||||||
|
--cov-report=term-missing:skip-covered
|
||||||
|
--no-cov-on-fail
|
||||||
|
--color=yes
|
||||||
|
"""
|
||||||
|
# filterwarnings=error
|
||||||
|
|
|
||||||
10
setup.cfg
10
setup.cfg
|
|
@ -1,13 +1,3 @@
|
||||||
[tool:pytest]
|
|
||||||
addopts =
|
|
||||||
--tb=short
|
|
||||||
--cov-config .coveragerc
|
|
||||||
--cov=vdirsyncer
|
|
||||||
--cov-report=term-missing:skip-covered
|
|
||||||
--no-cov-on-fail
|
|
||||||
--color=yes
|
|
||||||
# filterwarnings=error
|
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
# See https://github.com/python/mypy/issues/7511:
|
# See https://github.com/python/mypy/issues/7511:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue