From bf16f307ac6b204758e1c3cc5b46f95ebf1e14cb Mon Sep 17 00:00:00 2001 From: Elliot T Date: Wed, 12 Jun 2024 15:19:36 +0200 Subject: [PATCH] remove first line (#5) --- entrypoint.sh | 2 +- requirements/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a6c8251..a1e712e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -75,7 +75,7 @@ if [[ "${SQLFLUFF_COMMAND:?}" == "lint" ]]; then $(if [[ "x${SQLFLUFF_TEMPLATER}" != "x" ]]; then echo "--templater ${SQLFLUFF_TEMPLATER}"; fi) \ $(if [[ "x${SQLFLUFF_DISABLE_NOQA}" != "x" ]]; then echo "--disable-noqa ${SQLFLUFF_DISABLE_NOQA}"; fi) \ $(if [[ "x${SQLFLUFF_DIALECT}" != "x" ]]; then echo "--dialect ${SQLFLUFF_DIALECT}"; fi) \ - $changed_files >> "$lint_results" + $changed_files | tail -n +2 >> "$lint_results" sqlfluff_exit_code=$? cat "$lint_results" diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 87c1d0f..93b7b59 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -3,6 +3,7 @@ pre-commit>=2.0,<3.0 # dbt dbt-core==${DBT_VERSION} +dbt-bigquery==${DBT_VERSION} # sqlfluff sqlfluff==${SQLFLUFF_VERSION}