Skip to content

Commit b88a201

Browse files
committed
refactor(deps): simplify mypy dependency configuration
- Removed nested dependency groups for type packages - Flattened types-all group into direct dependencies - Consolidated type stub packages into mypy group - Removed redundant include-group declarations - Simplified dependency structure for better maintainability
1 parent 82dc2c1 commit b88a201

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

pyproject.toml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,7 @@ dev = [
7171
{ include-group = "ipykernel" },
7272
]
7373

74-
mypy = ["mypy", { include-group = "types-all" }]
75-
76-
types-redis = ["types-redis>=3.5"]
77-
types-PyYAML = ["types-PyYAML>=5.4"]
78-
types-Pygments = ["types-Pygments>=2.9"]
79-
types-all = [
80-
{ include-group = "typing-redis" },
81-
{ include-group = "typing-PyYAML" },
82-
{ include-group = "typing-Pygments" },
83-
]
74+
mypy = ["mypy", "types-redis", "types-PyYAML", "types-Pygments"]
8475

8576
docs = [
8677
"importlib_metadata;python_version<'3.8'",
@@ -95,6 +86,7 @@ docs = [
9586
"sphinx-version-warning",
9687
"sphinx-autodoc-typehints",
9788
]
89+
9890
test = [
9991
"pytest",
10092
"pytest-mock",

0 commit comments

Comments
 (0)