From 5e9d20dc32768e873ab84bc4ed0b489fdda40672 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Wed, 24 Nov 2021 13:10:52 +0100 Subject: =?UTF-8?q?Primer=20tests=20"=C3=A0=20la=20mypy"=20(#5173)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add changelog and warning about unstable API in testutil * Add primer tests, (running pylint on external libs during tests) In order to anticipate crash/fatal messages, false positives are harder to anticipate. Follow-up will be #5359 and later on #5364 Add '__tracebackhide__ = True' so the traceback is manageable Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> --- setup.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 18f7da882..3aaf37699 100644 --- a/setup.cfg +++ b/setup.cfg @@ -69,9 +69,10 @@ test = pytest [tool:pytest] testpaths = tests python_files = *test_*.py -addopts = -m "not primer_stdlib" +addopts = --strict-markers -m "not primer_stdlib and not primer_external" markers = primer_stdlib: Checks for crashes and errors when running pylint on stdlib + primer_external: Checks for crashes and errors when running pylint on external libs benchmark: Baseline of pylint performance, if this regress something serious happened [isort] @@ -118,3 +119,6 @@ ignore_missing_imports = True [mypy-toml.decoder] ignore_missing_imports = True + +[mypy-git.*] +ignore_missing_imports = True -- cgit v1.2.1