Skip to content

Commit 33882fe

Browse files
committed
Switch to dependency-groups
1 parent e8f80fa commit 33882fe

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515

1616
- name: Install the project and its dependencies
1717
run: |
18-
uv sync
19-
uv sync --extra dev-tools
18+
uv sync --dev
2019
2120
- name: Run pre-commit
2221
run: |-

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ dependencies = [
88

99
[dependency-groups]
1010
dev = [
11-
"lit==18.1.8" # Tool to configure, discover and run tests
11+
"lit==18.1.8", # Tool to configure, discover and run tests
12+
"ruff==0.14.5", # Python linter and formatter
13+
"pre-commit", # Tool to manage and apply pre-commit hooks
1214
]
1315

1416
[project.optional-dependencies]
@@ -34,10 +36,6 @@ ingress_torch_xpu = [
3436
"pytorch_triton_xpu", # Transitive dependency listed explicitly so that we can state which package repository it is supposed to come from
3537
"lighthouse[ingress_torch_mlir]"
3638
]
37-
dev_tools = [
38-
"pre-commit",
39-
"ruff==0.14.5"
40-
]
4139

4240
[tool.uv]
4341
# Declare that the following "targets" are mutually exclusive of one another

0 commit comments

Comments
 (0)