Skip to content

Commit

Permalink
add ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Dec 9, 2023
1 parent 37f57e3 commit 8fc6ab8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ code-count: ## Count the code
else echo "SKIPPED. Run 'brew install cloc' first." >&2 ; fi

code-lint: ## Lint the code
@echo Ruff...
@if type ruff >/dev/null 2>&1 ; then ruff $(SRC_CORE) ; \
else echo "SKIPPED. Run '$(PIP) install ruff' first." >&2 ; fi
@echo Pylama...
@if type pylama >/dev/null 2>&1 ; then pylama $(SRC_CORE) ; \
else echo "SKIPPED. Run '$(PIP) install pylama' first." >&2 ; fi
Expand Down

0 comments on commit 8fc6ab8

Please sign in to comment.