From 6bcd6fa91ce3eb6bd4199d8aeed5696b9b598b6e Mon Sep 17 00:00:00 2001 From: Hernan Vignolo Date: Fri, 20 Sep 2024 17:47:28 -0300 Subject: [PATCH] fix: add missing slash in the path of the makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 71b8a43..f855f54 100644 --- a/Makefile +++ b/Makefile @@ -81,17 +81,17 @@ format-python: ## Format a Python file. Usage: make format-python path="./dags/m .PHONY: lint-sql lint-sql: ## Lint a SQL file. Usage: make lint-sql path="./path/to/my_file.sql" $(call log, Linting $(path)...) - poetry run sqlfluff lint --config ./dbt/${PROJECT_NAME}.sqlfluff $(path) + poetry run sqlfluff lint --config ./dbt/${PROJECT_NAME}/.sqlfluff $(path) .PHONY: fix-sql fix-sql: ## Apply fixes to a SQL file. Usage: make fix-sql path="./path/to/my_file.sql" $(call log, Fixing $(path)...) - poetry run sqlfluff fix --force --config ./dbt/${PROJECT_NAME}.sqlfluff $(path) + poetry run sqlfluff fix --force --config ./dbt/${PROJECT_NAME}/.sqlfluff $(path) .PHONY: format-sql format-sql: ## Format a SQL file. Usage: make format-sql path="./path/to/my_file.sql" $(call log, Formatting $(path)...) - poetry run sqlfluff format --config ./dbt/${PROJECT_NAME}.sqlfluff $(path) + poetry run sqlfluff format --config ./dbt/${PROJECT_NAME}/.sqlfluff $(path) ##@ Pre-commit hooks