fix pytest-cov settings

This commit is contained in:
Robert Kaussow 2020-11-15 22:34:34 +01:00
parent 044027313f
commit aa20e4cc0d
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 7 additions and 2 deletions

5
poetry.lock generated
View File

@ -147,6 +147,9 @@ category = "dev"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4"
[package.dependencies]
toml = {version = "*", optional = true, markers = "extra == \"toml\""}
[package.extras]
toml = ["toml"]
@ -1038,7 +1041,7 @@ testing = ["pathlib2", "unittest2", "jaraco.itertools", "func-timeout"]
[metadata]
lock-version = "1.1"
python-versions = "^3.5.0"
content-hash = "c09941e9c32eaecfb196339e27b460c570595da063cad6822db3e25c2cfd0a13"
content-hash = "83b7d966995211d9128c6fb75d4b6dfc03b765347e584b5818dbd181a9f1e322"
[metadata.files]
anyconfig = [

View File

@ -62,6 +62,7 @@ zipp = "<2.0.0"
[tool.poetry.dev-dependencies]
autopep8 = "*"
bandit = "*"
coverage = {extras = ["toml"], version = "*"}
flake8 = "*"
flake8-blind-except = "*"
flake8-builtins = "*"
@ -98,7 +99,8 @@ line_length = 99
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip_glob = ["**/.env*", "**/env/*", "**/docs/*"]
[tool.pytest]
[tool.pytest.ini_options]
addopts = "--cov=dockertidy --cov-report xml:coverage.xml --cov-append --no-cov-on-fail"
filterwarnings = [
"ignore::FutureWarning",
"ignore:.*collections.*:DeprecationWarning",