Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
zhukovgreen committed Jun 23, 2023
commit bc6849fed169845088b41cc158a2e8a1bf2aea90
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ Smart, pythonic, ad-hoc, typed polymorphism for Python.
pip install classes
```

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

```bash
pip install classes[compatible-mypy]
```
and

```ini
# In setup.cfg or mypy.ini:
[mypy]
Expand Down
Loading