From c41d4da79e9891337e2401d710ffa058a8a1c1a5 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 25 Jan 2019 19:33:45 +0000 Subject: [PATCH] Move Pytest config from setup.cfg to pytest.ini As per https://github.com/pytest-dev/pytest/issues/3375 , mentioned in changelog for 4.1.1 --- pytest.ini | 4 ++++ setup.cfg | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..0b0df80 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,4 @@ +[pytest] +addopts = --cov=ec2_metadata + --cov-report term-missing + --cov-fail-under 100 diff --git a/setup.cfg b/setup.cfg index a26f55b..ae12400 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,8 +22,3 @@ license_file = LICENSE [tool:multilint] paths = ec2_metadata.py test_ec2_metadata.py - -[tool:pytest] -addopts = --cov=ec2_metadata - --cov-report term-missing - --cov-fail-under 100