Skip to content

Commit 7c03515

Browse files
committed
Refer the mypy-plugin extras in the docs
1 parent 7ecfd88 commit 7c03515

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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[mypy-plugin]
40+
```
41+
and
42+
3843
```ini
3944
# In setup.cfg or mypy.ini:
4045
[mypy]

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ classifiers = [
4646
[tool.poetry.dependencies]
4747
python = "^3.7"
4848
typing_extensions = ">=3.10,<5.0"
49-
mypy = { version = "^0.942", optional = true }
49+
mypy = { version = "^1.2.0", optional = true }
5050

5151
[tool.poetry.dev-dependencies]
5252
mypy = "^0.942"

0 commit comments

Comments
 (0)