Skip to content

Commit 322d21b

Browse files
committed
Add mypy-plugin extra dependency
use `pip install classes[mypy-plugin]` for installin additional dependencies required by the mypy-plugin.
1 parent 1d9d5c9 commit 322d21b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +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 }
4950

5051
[tool.poetry.dev-dependencies]
5152
mypy = "^0.942"
@@ -71,3 +72,7 @@ tomlkit = "^0.11"
7172
codespell = "^2.2"
7273

7374
phantom-types = "^1.0"
75+
76+
[tool.poetry.extras]
77+
mypy-plugin = ["mypy"]
78+

0 commit comments

Comments
 (0)