Skip to content

Commit

Permalink
[CI] Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Jan 3, 2025
1 parent c3deb5c commit 8dc95fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
make install-lint
- name: Run ruff
run: |
make ruff
make ruff-check
9 changes: 7 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ help:
@echo "ruff-format-check"
@echo " Check if ruff format would change files"
@echo "ruff"
@echo " Run ruff on the project"
@echo " Run ruff on the project and fix errors"
@echo "ruff-check"
@echo " Run ruff check on the project without fixing errors"
@echo "conda-env"
@echo " Create conda environment 'curvlinops' with dev setup"
@echo "darglint-check"
Expand Down Expand Up @@ -85,11 +87,14 @@ ruff-format:
ruff-format-check:
@ruff format --check .

.PHONY: ruff
.PHONY: ruff-check

ruff:
@ruff check . --fix

ruff-check:
@ruff check .

.PHONY: darglint-check

darglint-check:
Expand Down

0 comments on commit 8dc95fd

Please sign in to comment.