Skip to content

Commit 3c4eab3

Browse files
committed
Provide requirements file and update linting workflow to use (pins linting tool versions).
1 parent a0c78ff commit 3c4eab3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/linting.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ jobs:
3838
python -m venv ftorch
3939
. ftorch/bin/activate
4040
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
41-
pip install fortitude-lint
42-
pip install ruff
41+
pip install -r requirements.txt
4342
4443
# Run CMake build to get compile commands for clang
4544
- name: FTorch CMake

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ruff==0.7.3
2+
fortitude-lint
3+
clang-format==19.1.3
4+
clang-tidy==19.1.0

0 commit comments

Comments
 (0)