Add formatting and coverage checks
This commit is contained in:
parent
f60d73d761
commit
8e09e9da20
1 changed files with 3 additions and 1 deletions
|
@ -14,10 +14,12 @@ black = "^21.12b0"
|
||||||
pytest = "^6.2.5"
|
pytest = "^6.2.5"
|
||||||
mypy = "^0.931"
|
mypy = "^0.931"
|
||||||
pytest-mypy = "^0.8.1"
|
pytest-mypy = "^0.8.1"
|
||||||
|
pytest-black = "^0.3.12"
|
||||||
|
pytest-cov = "^3.0.0"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--mypy"
|
addopts = "--black --mypy --cov elite_engineering --cov-report xml:reports/coverage.xml --cov-fail-under=100"
|
||||||
|
|
Loading…
Reference in a new issue