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
40
40
` mypy ` correctly and install our plugin
41
41
to fix [ this existing issue] ( https://github.com/python/mypy/issues/3157 ) :
42
42
43
+ ``` bash
44
+ pip install classes[mypy-plugin]
45
+ ```
46
+ and
47
+
43
48
``` ini
44
49
# In setup.cfg or mypy.ini:
45
50
[mypy]
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ _ = "returns.contrib.hypothesis._entrypoint"
48
48
python = " ^3.7"
49
49
50
50
typing-extensions = " >=4.0,<5.0"
51
+ mypy = { version = " ^1.2.0" , optional = true }
51
52
52
53
[tool .poetry .dev-dependencies ]
53
54
anyio = " ^3.6"
@@ -82,6 +83,9 @@ doc8 = "^1.0"
82
83
m2r2 = " ^0.3"
83
84
tomlkit = " ^0.11"
84
85
86
+ [tool .poetry .extras ]
87
+ mypy-plugin = [" mypy" ]
88
+
85
89
86
90
[build-system ]
87
91
requires = [" poetry-core>=1.0.0" ]
You can’t perform that action at this time.
0 commit comments