Skip to content

Commit

Permalink
build(lint): run ruff first
Browse files Browse the repository at this point in the history
---for the greatest coverage as soon as possible.[1]

[1]: #6954 (comment)
  • Loading branch information
cfm committed Oct 12, 2023
1 parent c8d6b8f commit ddea15f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ yamllint: ## Lint YAML files (does not validate syntax!).
@yamllint --strict .
@echo

# While the order mostly doesn't matter here, keep "check-ruff" first, since it
# gives the broadest coverage and runs (and therefore fails) fastest.
.PHONY: lint
lint: ansible-config-lint app-lint check-black check-desktop-files check-strings check-ruff check-supported-locales html-lint shellcheck typelint yamllint ## Runs all lint checks
lint: check-ruff ansible-config-lint app-lint check-black check-desktop-files check-strings check-supported-locales html-lint shellcheck typelint yamllint ## Runs all lint checks

.PHONY: safety
safety: ## Run `safety check` to check python dependencies for vulnerabilities.
Expand Down

0 comments on commit ddea15f

Please sign in to comment.