Skip to content

Commit

Permalink
chore(deps): update dependency sqlfluff to v3.3.0 (#4385)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency sqlfluff to v3.3.0

* Fix test case & doc link

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
renovate[bot] and nvuillam authored Dec 18, 2024
1 parent d55e02a commit 37f924e
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 19 deletions.
1 change: 1 addition & 0 deletions .automation/test/sql/.sqlfluff
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[sqlfluff]
dialect = mysql
warnings = LT14
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ARG SALESFORCE_SFDX_SCANNER_VERSION=4.7.0
# renovate: datasource=npm depName=lightning-flow-scanner
ARG LIGHTNING_FLOW_SCANNER_VERSION=2.36.0
# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
1 change: 1 addition & 0 deletions TEMPLATES/.sqlfluff
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@

[sqlfluff]
#dialect = ansi

2 changes: 1 addition & 1 deletion flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ARG PMD_VERSION=7.8.0
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ARG DETEKT_VERSION=1.23.7
ARG PSSA_VERSION='1.23.0'

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ARG DETEKT_VERSION=1.23.7
ARG PSSA_VERSION='1.23.0'

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ARG PMD_VERSION=7.8.0
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ARG SALESFORCE_SFDX_SCANNER_VERSION=4.7.0
# renovate: datasource=npm depName=lightning-flow-scanner
ARG LIGHTNING_FLOW_SCANNER_VERSION=2.36.0
# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ FROM python:3.12.8-alpine3.20
ARG DETEKT_VERSION=1.23.7

# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
2 changes: 1 addition & 1 deletion linters/sql_sqlfluff/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ FROM python:3.12.8-alpine3.20
#############################################################################################
#ARG__START
# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
#ARG__END

####################
Expand Down
4 changes: 2 additions & 2 deletions megalinter/descriptors/sql.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ linters:
linter_banner_image_url: https://raw.githubusercontent.com/sqlfluff/sqlfluff/main/images/sqlfluff-wide.png
linter_image_url: https://docs.sqlfluff.com/en/stable/_static/images/sqlfluff-lrg.png
linter_rules_url: https://docs.sqlfluff.com/en/stable/rules.html
linter_rules_configuration_url: https://docs.sqlfluff.com/en/stable/configuration.html
linter_rules_configuration_url: https://docs.sqlfluff.com/en/stable/configuration/index.html
config_file_name: .sqlfluff
active_only_if_file_found:
- .sqlfluff
Expand All @@ -32,7 +32,7 @@ linters:
dockerfile:
- |-
# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
ARG SQL_SQLFLUFF_VERSION=3.3.0
pip:
- sqlfluff==${SQL_SQLFLUFF_VERSION}
# TSQL
Expand Down

0 comments on commit 37f924e

Please sign in to comment.