You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -103,16 +103,25 @@ test-integration: ## Run integration tests
103
103
# $(PYTEST) tests -m integration
104
104
105
105
.PHONY: check
106
-
check: check-py-black check-py-ruff check-py-mypy ## Run all checks
106
+
check: check-py-ruff-format check-py-ruff-lint check-py-mypy ## Run all checks
107
107
108
-
.PHONY: check-py-ruff
109
-
check-py-ruff: ## Run ruff linter
110
-
$(RUFF) example tests
108
+
.PHONY: check-py-ruff-lint
109
+
check-py-ruff-lint: ## Run ruff linter
110
+
$(RUFF)$(RUFF_OPTS) tgt_measurement tests ||\
111
+
(echo "$(COLOR_RED)Run '$(notdir $(MAKE)) check-py-ruff-fix' to fix some of these automatically if [*] appears above, then run '$(notdir $(MAKE))$(MAKECMDGOALS)' again."&& false)
0 commit comments