Skip to content

Commit

Permalink
Add mypy-plugin extra dependency
Browse files Browse the repository at this point in the history
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
1 parent 6f925f7 commit bc6849f
Show file tree
Hide file tree
Showing 3 changed files with 893 additions and 997 deletions.
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

0 comments on commit bc6849f

Please sign in to comment.