Skip to content

Commit

Permalink
Use dependency-groups instead of dev-dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Nov 18, 2024
1 parent 60e08c9 commit 9bab03a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
".venv": true,
".pytest_cache": true,
".benchmarks": true,
".ruff_cache": true,
".regression_files": true
".ruff_cache": true
},
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
Expand Down
31 changes: 16 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ requires-python = ">= 3.10"
[project.entry-points."mkdocs.plugins"]
custom_autoref_plugin = "project.utils.autoref_plugin:CustomAutoRefPlugin"

[dependency-groups]
dev = [
"mktestdocs>=0.2.2",
"pre-commit<4.0.0",
"pytest-benchmark>=4.0.0",
"pytest-cov>=5.0.0",
"pytest-env>=1.1.3",
"pytest-regressions>=2.5.0",
"pytest-skip-slow>=0.0.5",
"pytest-testmon>=2.1.1",
"pytest-timeout>=2.3.1",
"pytest-xdist>=3.6.1",
"pytest>=8.3.2",
"ruff>=0.6.0",
"tensor-regression>=0.0.8",
]

[project.optional-dependencies]
docs = [
Expand Down Expand Up @@ -99,21 +115,6 @@ packages = ["project"]

[tool.uv]
managed = true
dev-dependencies = [
"mktestdocs>=0.2.2",
"pre-commit<4.0.0",
"pytest-benchmark>=4.0.0",
"pytest-cov>=5.0.0",
"pytest-env>=1.1.3",
"pytest-regressions>=2.5.0",
"pytest-skip-slow>=0.0.5",
"pytest-testmon>=2.1.1",
"pytest-timeout>=2.3.1",
"pytest-xdist>=3.6.1",
"pytest>=8.3.2",
"ruff>=0.6.0",
"tensor-regression>=0.0.8",
]

[tool.uv.sources]
remote-slurm-executor = { git = "https://github.com/lebrice/remote-slurm-executor", branch = "master" }
Expand Down

0 comments on commit 9bab03a

Please sign in to comment.