diff --git a/docs/editors/mypy.md b/docs/editors/mypy.md index 0d979bcecb..7490746b04 100644 --- a/docs/editors/mypy.md +++ b/docs/editors/mypy.md @@ -25,5 +25,12 @@ root of our project and add the following settings: plugins = strawberry.ext.mypy_plugin ``` +You can also configure Mypy inside the `pyproject.toml` file, like so: + +```toml +[tool.mypy] +plugins = ["strawberry.ext.mypy_plugin"] +``` + Once you have configured the settings, you can run `mypy` and you should be getting type checking errors.