File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ You are also required to [configure](https://returns.readthedocs.io/en/latest/pa
4040` mypy ` correctly and install our plugin
4141to fix [ this existing issue] ( https://github.com/python/mypy/issues/3157 ) :
4242
43+ ``` bash
44+ pip install classes[mypy-plugin]
45+ ```
46+ and
47+
4348``` ini
4449# In setup.cfg or mypy.ini:
4550[mypy]
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ _ = "returns.contrib.hypothesis._entrypoint"
4848python = " ^3.7"
4949
5050typing-extensions = " >=4.0,<5.0"
51+ mypy = { version = " ^1.2.0" , optional = true }
5152
5253[tool .poetry .dev-dependencies ]
5354anyio = " ^3.6"
@@ -82,6 +83,9 @@ doc8 = "^1.0"
8283m2r2 = " ^0.3"
8384tomlkit = " ^0.11"
8485
86+ [tool .poetry .extras ]
87+ mypy-plugin = [" mypy" ]
88+
8589
8690[build-system ]
8791requires = [" poetry-core>=1.0.0" ]
You can’t perform that action at this time.
0 commit comments