Verified Commit 83402510 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update dev tools configs

parent 6b4dfff6
Loading
Loading
Loading
Loading
+6 −19
Original line number Diff line number Diff line
@@ -51,20 +51,6 @@ ignore_init = true

[tool.flakeheaven]
base = "https://code.kodo.org.uk/dom/project-templates/-/raw/main/.flakerules.toml"
max_line_length = 92
max_doc_length = 92

[tool.flakeheaven.plugins]
pycodestyle = ["-E701", "-E226"]

[tool.flakeheaven.exceptions."tests/"]
flake8-docstrings = ["-D100"]

[tool.flakeheaven.exceptions."README.md"]
flake8-docstrings = ["-*"]

[tool.flakeheaven.exceptions."doc/*"]
flake8-docstrings = ["-*"]


[tool.mypy]
@@ -93,16 +79,17 @@ source = ["kilter"]
precision = 2
skip_empty = true
exclude_lines = [
	"pragma: no-cover",
	"if .*\\b__name__\\b",
	"if .*\\bTYPE_CHECKING\\b",
	"@(abc\\.)abstractmethod",
	"@overload",
	"class .*(.*\\bProtocol\\b.*):",
	"def __repr__",
	"@overload",
	"if .*\\bTYPE_CHECKING\\b",
	"if .*\\b__name__\\b",
	"pragma: no-cover",
]
partial_branches = [
	"pragma: no-branch",
	"if .*\\b__debug__\\b",
	"pragma: no-branch",
]

[tool.coverage.json]