From 735951cb38ac3fa717e29ab02b90cef97073ab40 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:29:11 +0100 Subject: [PATCH] Update ignore.md --- cheatsheets/python/type-checks/ignore.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cheatsheets/python/type-checks/ignore.md b/cheatsheets/python/type-checks/ignore.md index d53ecdf62..808dd3dfa 100644 --- a/cheatsheets/python/type-checks/ignore.md +++ b/cheatsheets/python/type-checks/ignore.md @@ -23,6 +23,8 @@ import foo Note - if you get irregular behavior after you remove a config file, delete `.mypy_cache` and try again. +See [Config file](https://mypy.readthedocs.io/en/stable/config_file.html) notes in the docs for referencing modules. + Ignore `foobar` imports. This is equivalent to adding `# type: ignore` to every import of `foobar`. - `setup.cfg` - first heading is to ensure the section below it actually gets evaluated.