Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 322d21b

Browse files
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

‎pyproject.toml‎

Lines changed: 5 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /