diff options
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 6938778..08150fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,3 +12,28 @@ addopts = "--import-mode=importlib" [tool.ruff] target-version = "py312" line-length = 100 + +[tool.ruff.lint] +select = ["E", "W", "F", "I", "B", "UP", "ASYNC", "PERF", "C4", "RUF"] +ignore = ["E501", "RUF012", "B008", "ASYNC240"] + +[tool.ruff.lint.per-file-ignores] +"tests/*" = ["F841"] +"*/tests/*" = ["F841"] + +[tool.ruff.lint.isort] +known-first-party = ["shared"] + +[tool.coverage.run] +branch = true +source = ["shared/src", "services"] +omit = ["*/tests/*", "*/alembic/*"] + +[tool.coverage.report] +fail_under = 60 +show_missing = true +exclude_lines = [ + "pragma: no cover", + "if __name__", + "if TYPE_CHECKING", +] |
