Skip to content

Commit 8a98751

Browse files
committed
Refactor optional dependencies in pyproject.toml
- Moved development dependencies from the optional-dependencies section to the dependency-groups section for better organization. - Ensured that the dev group includes essential testing and type-checking tools.
1 parent 414185b commit 8a98751

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,7 @@ dependencies = [
2626
"schedule>=1.2.2",
2727
]
2828

29-
[project.optional-dependencies]
30-
dev = [
31-
"pytest>=7.4.0",
32-
"pytest-cov>=4.1.0",
33-
"ruff>=0.12.0",
34-
"mypy>=1.5.0"
35-
]
29+
3630

3731
[build-system]
3832
requires = ["hatchling"]
@@ -69,5 +63,9 @@ split-on-trailing-comma = true
6963

7064
[dependency-groups]
7165
dev = [
66+
"pytest>=7.4.0",
67+
"pytest-cov>=4.1.0",
68+
"ruff>=0.12.0",
69+
"mypy>=1.5.0",
7270
"pre-commit>=4.2.0",
7371
]

0 commit comments

Comments
 (0)