Skip to content

Commit 518a56f

Browse files
authored
Fix version-file for the Ruff action (#649)
* Fix version-file for the Ruff action * Fix the format
1 parent 0218495 commit 518a56f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/check-style.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
26+
- uses: astral-sh/ruff-action@v3
27+
with:
28+
version-file: "requirements-dev.txt"
2629
- uses: astral-sh/ruff-action@v3
2730
with:
2831
args: "format --check --diff"
29-
version-file: "pyproject.toml"
32+
version-file: "requirements-dev.txt"

tests/test_utils/custom_networks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from hivemind.moe import register_expert_class
66

7-
87
sample_input = lambda batch_size, hidden_dim: torch.empty((batch_size, hidden_dim))
98

109

0 commit comments

Comments
 (0)