From 5e1fe799439a069eb71519d2b1c7788150a657bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Wed, 6 May 2020 09:57:35 -0400 Subject: fix lint check --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 8c36c5f01..756233bd0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,4 +20,4 @@ ignore = *.egg-info/* ignore-default-rules = true ignore-bad-ideas = - tests/pkgs/localeapp/* + tests/pkgs/localeapp/**/*.mo -- cgit v1.2.3 From a4d35b2cd24731036c381248c3f0eb475dcd2f8f Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Mon, 4 May 2020 00:13:20 -0700 Subject: Add configuration for pytest --- setup.cfg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 756233bd0..a7a5ff4fe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,6 @@ [easy_install] zip_ok = false -[nosetests] -match = ^test -nocapture = 1 - [aliases] dev = develop easy_install pyramid[testing] docs = develop easy_install pyramid[docs] @@ -21,3 +17,9 @@ ignore = ignore-default-rules = true ignore-bad-ideas = tests/pkgs/localeapp/**/*.mo + +[tool:pytest] +python_files = test_*.py +testpaths = + tests +addopts = -W always --cov -- cgit v1.2.3 From 57687face8ec3a912d6d886b8b2bcf27a97c82d0 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Mon, 4 May 2020 23:23:22 -0700 Subject: Disable coverage by default Use a special py38-cover testenv in tox to re-enable coverage reporting. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index a7a5ff4fe..83f985f93 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,4 +22,4 @@ ignore-bad-ideas = python_files = test_*.py testpaths = tests -addopts = -W always --cov +addopts = -W always -- cgit v1.2.3 From 559aa50281b48634b4cb4df1f4adf322be102f0c Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Mon, 4 May 2020 01:08:02 -0700 Subject: ignore .gitattributes --- setup.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 83f985f93..a9e760853 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,6 +11,7 @@ license_file = LICENSE.txt [check-manifest] ignore = .gitignore + .gitattributes PKG-INFO *.egg-info *.egg-info/* -- cgit v1.2.3