mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
44 lines
738 B
TOML
44 lines
738 B
TOML
[build-system]
|
|
requires = ["setuptools>=64", "setuptools_scm>=8"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.ruff]
|
|
select = [
|
|
"E",
|
|
"F",
|
|
"W",
|
|
"B0",
|
|
"I",
|
|
"UP",
|
|
"C4",
|
|
# "TID",
|
|
"RSE"
|
|
]
|
|
target-version = "py37"
|
|
|
|
[tool.ruff.isort]
|
|
force-single-line = true
|
|
required-imports = ["from __future__ import annotations"]
|
|
|
|
[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
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"if TYPE_CHECKING:",
|
|
]
|
|
|
|
[tool.setuptools_scm]
|
|
write_to = "vdirsyncer/version.py"
|
|
version_scheme = "no-guess-dev"
|