Skip to content

Commit

Permalink
fix: add missing slash in the path of the makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hernan Vignolo committed Sep 20, 2024
1 parent 7ae8a7e commit 6bcd6fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bcd6fa

Please sign in to comment.