From ddf9b819d77697620ea2246ca61021db8c31a7b6 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 30 Apr 2023 15:54:24 -0700 Subject: [PATCH] Remove example flag that we must not speak of I just had a user copy-paste this, thinking it was the recommended way to run mypy. I'd prefer if users who blindly copy-paste things didn't pick up a flag that's highly discouraged --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da874ad..e35472b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ To change the arguments, override the `args` as follows: ```yaml hooks: - id: mypy - args: [--no-strict-optional, --ignore-missing-imports] + args: [--strict, --ignore-missing-imports] ``` Because `pre-commit` runs `mypy` from an isolated virtualenv (without your