mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
[core] Move pytest config into pyproject.toml (#6740)
This commit is contained in:
parent
f2ef06d8b5
commit
bf48ccaf22
2 changed files with 9 additions and 4 deletions
|
@ -54,3 +54,12 @@ include = ["esphome*"]
|
||||||
[tool.black]
|
[tool.black]
|
||||||
target-version = ["py39", "py310"]
|
target-version = ["py39", "py310"]
|
||||||
exclude = 'generated'
|
exclude = 'generated'
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = [
|
||||||
|
"tests",
|
||||||
|
]
|
||||||
|
addopts = [
|
||||||
|
"--cov=esphome",
|
||||||
|
"--cov-branch",
|
||||||
|
]
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[pytest]
|
|
||||||
addopts =
|
|
||||||
--cov=esphome
|
|
||||||
--cov-branch
|
|
Loading…
Reference in a new issue