From 2e64e0e86edb0c90dc8e9636298b70862558503b Mon Sep 17 00:00:00 2001 From: PhilipMay Date: Tue, 2 Jan 2024 13:47:48 +0100 Subject: [PATCH] Update linter.md with links and instructions for Black and mypy --- source/python/linter.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/python/linter.md b/source/python/linter.md index dee8aa5..54fd396 100644 --- a/source/python/linter.md +++ b/source/python/linter.md @@ -2,5 +2,11 @@ ## Black -- see https://black.readthedocs.io/ -- ignore formatting in one line: `# fmt: skip` - https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#code-style +- see +- ignore formatting in one line: `# fmt: skip` - + +## mypy + +- see +- ignore all typing in one line: `# type: ignore` +- ignore specific error: `# type: ignore[error-code]`