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
This commit is contained in:
Shantanu 2023-04-30 15:54:24 -07:00 committed by GitHub
parent b84480de61
commit ddf9b819d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ To change the arguments, override the `args` as follows:
```yaml ```yaml
hooks: hooks:
- id: mypy - 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 Because `pre-commit` runs `mypy` from an isolated virtualenv (without your