Skip to content

Commit 24ad2e4

Browse files
committed
Add mypy-plugin extra dependency
use `pip install classes[mypy-plugin]` for installin additional dependencies required by the mypy-plugin. Add mypy-plugin extra dependency use `pip install classes[mypy-plugin]` for installing additional dependencies required by the mypy-plugin.
1 parent 6f925f7 commit 24ad2e4

File tree

3 files changed

+893
-997
lines changed

3 files changed

+893
-997
lines changed

Diff for: README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,14 @@ Smart, pythonic, ad-hoc, typed polymorphism for Python.
3232
pip install classes
3333
```
3434

35-
You also need to [configure](https://classes.readthedocs.io/en/latest/pages/container.html#type-safety)
35+
You may also need to [configure](https://classes.readthedocs.io/en/latest/pages/container.html#type-safety)
3636
`mypy` correctly and install our plugin:
3737

38+
```bash
39+
pip install classes[compatible-mypy]
40+
```
41+
and
42+
3843
```ini
3944
# In setup.cfg or mypy.ini:
4045
[mypy]

0 commit comments

Comments
 (0)