Fix coverage config.

This commit is contained in:
Alessio Bogon 2022-07-27 19:51:25 +02:00
parent 63a4268b9c
commit b316d68232
2 changed files with 13 additions and 5 deletions

View File

@ -1,5 +0,0 @@
[run]
branch = true
include =
pytest_bdd/*
tests/*

View File

@ -62,6 +62,19 @@ profile = "black"
line_length = 120
multi_line_output = 3
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"if typing\\.TYPE_CHECKING:",
]
[tool.coverage.run]
branch = true
include =[
"pytest_bdd/*",
"tests/*",
]
[tool.mypy]
python_version = "3.7"
warn_return_any = true