From 7b39a05e07c11abde4e2521ae27c270209632644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 6 Jun 2025 09:33:29 -0700 Subject: [PATCH] docs/language-frameworks/python: don't test coverage etc --- doc/languages-frameworks/python.section.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index af951cc3e805..fb5f6c8e9a0b 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1259,6 +1259,13 @@ as many tests should be enabled as possible. Failing tests can still be a good indication that the package is not in a valid state. ::: +::: {.note} +We only want to test the functionality of a package. In particular, we are not +interested in coverage, formatting, and type checking. If pytest fails with +`unrecognized arguments: --cov`, add `pytest-cov-stub` to `nativeCheckInputs` +rather than `pytest-cov`. +::: + #### Using pytest {#using-pytest} Pytest is the most common test runner for python repositories. A trivial