From c55dffe5284dc99f7a6764f2f45ab82140733d93 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 10 Jan 2023 13:49:05 -0500 Subject: mypy: exclude fullcoverage/encodings.py --- coverage/fullcoverage/encodings.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coverage/fullcoverage/encodings.py') diff --git a/coverage/fullcoverage/encodings.py b/coverage/fullcoverage/encodings.py index b8841866..73bd5646 100644 --- a/coverage/fullcoverage/encodings.py +++ b/coverage/fullcoverage/encodings.py @@ -14,6 +14,9 @@ execute from the very earliest stages of Python's own boot process. This fixes a problem with coverage.py - that it starts too late to trace the coverage of many of the most fundamental modules in the Standard Library. +DO NOT import other modules into here, it will interfere with the goal of this +code executing before all imports. This is why this file isn't type-checked. + """ import sys -- cgit v1.2.1