Files
2025-11-01 23:46:29 +08:00

47 lines
901 B
TOML

[project]
name = "xcodereviewer-backend"
version = "2.0.0"
description = "XCodeReviewer Backend Service"
requires-python = ">=3.11"
[tool.ruff]
line-length = 100
target-version = "py311"
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
ignore = ["E501"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["S101"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.black]
line-length = 100
target-version = ['py311']
[tool.coverage.run]
source = ["."]
omit = [
"tests/*",
"*/migrations/*",
"*/__pycache__/*",
"*/venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]