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:
parent
b84480de61
commit
ddf9b819d7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user