Skip to content

Commit

Permalink
Provide requirements file and update linting workflow to use (pins li…
Browse files Browse the repository at this point in the history
…nting tool versions).
  • Loading branch information
jatkinson1000 committed Nov 19, 2024
1 parent a0c78ff commit 3c4eab3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
python -m venv ftorch
. ftorch/bin/activate
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
pip install fortitude-lint
pip install ruff
pip install -r requirements.txt
# Run CMake build to get compile commands for clang
- name: FTorch CMake
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ruff==0.7.3
fortitude-lint
clang-format==19.1.3
clang-tidy==19.1.0

0 comments on commit 3c4eab3

Please sign in to comment.