diff --git a/pyproject.toml b/pyproject.toml index 46a8af81..81c1de97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,9 @@ exclude_lines = [ "pragma: no cover", "raise NotImplementedError", "except ImportError", +] +partial_branches = [ + "pragma: no branch", "if app.debug", "if app.testing", ]