Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linter sql and markdown #316

Merged
merged 60 commits into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
fbe9c6f
wip sqlfluff
vdelacruzb Sep 12, 2022
846897e
add markdowns linter
vdelacruzb Sep 12, 2022
fc0b1ce
add force to sqlfluff
vdelacruzb Sep 12, 2022
2d585f9
wip sqlfluff
vdelacruzb Sep 13, 2022
896f259
Revert "wip sqlfluff"
vdelacruzb Sep 13, 2022
784c630
update sql_fluff
vdelacruzb Sep 13, 2022
c7507b3
lint redshift sql files
vdelacruzb Sep 13, 2022
20a43cf
update markdown linter
vdelacruzb Sep 13, 2022
951cba9
Merge branch 'master' into chore/sc-250230/add-linter-sql-and-markdown
vdelacruzb Sep 13, 2022
e7f11b4
add linters to postgres
vdelacruzb Sep 13, 2022
7cc8491
lint sql and md in postgres
vdelacruzb Sep 13, 2022
7170d87
add linters to bigquery
vdelacruzb Sep 13, 2022
211972a
lint sqls and md
vdelacruzb Sep 13, 2022
c437725
add linters to snowflake
vdelacruzb Sep 14, 2022
14d72cd
lint snowflake files
vdelacruzb Sep 14, 2022
04fe128
add python to bq and sf workflows
vdelacruzb Sep 14, 2022
a973efa
remove comment from sf linter
vdelacruzb Sep 14, 2022
efd3d2c
fix BQ linting problems
vdelacruzb Sep 14, 2022
dcf8626
fix quadint_kring_distances in bq
vdelacruzb Sep 14, 2022
f34dfba
update changelogs
vdelacruzb Sep 14, 2022
011741e
add linter to databricks
vdelacruzb Sep 14, 2022
c188650
lint databricks
vdelacruzb Sep 14, 2022
993d23c
update quadint_kring_distances in bq
vdelacruzb Sep 14, 2022
4e6c0f9
update databricks workflow
vdelacruzb Sep 14, 2022
67931df
update kring_distances functions in bq
vdelacruzb Sep 14, 2022
46c73cf
fix linter path in rs
vdelacruzb Sep 14, 2022
8db304d
update sql files path for linting
vdelacruzb Sep 14, 2022
6d945d1
add config file to all providers
vdelacruzb Sep 14, 2022
b918016
lint core
vdelacruzb Sep 14, 2022
8214f05
add sqlignore to bq
vdelacruzb Sep 15, 2022
481ccdd
add ignore sqls support
vdelacruzb Sep 16, 2022
3588325
Merge branch 'master' into chore/sc-250230/add-linter-sql-and-markdown
vdelacruzb Sep 16, 2022
df57028
update databricks markdown
vdelacruzb Sep 16, 2022
6c36691
update changelogs
vdelacruzb Sep 16, 2022
27367f2
exclude L032
vdelacruzb Sep 16, 2022
d06f3f5
add jest.config.js
vdelacruzb Sep 16, 2022
c8ddb58
run tests
vdelacruzb Sep 16, 2022
af4e28b
update python linters in rs and pg
vdelacruzb Sep 16, 2022
04f698e
force lower variables
vdelacruzb Sep 16, 2022
303b4c7
increase max-length
vdelacruzb Sep 16, 2022
1aab6d4
update rules
vdelacruzb Sep 16, 2022
45ecc10
exclude rule breaking functions
vdelacruzb Sep 16, 2022
0798923
raise error and return file
vdelacruzb Sep 19, 2022
69086de
md linters avoiding node_modules properly
vdelacruzb Sep 19, 2022
60f1eab
update md linters and DB changelog
vdelacruzb Sep 19, 2022
958e687
fix indentation in ST_POLYGONIZE
vdelacruzb Sep 19, 2022
4b8a152
merge master
vdelacruzb Sep 19, 2022
ef61ed6
lint python files in common
vdelacruzb Sep 19, 2022
be5621d
remove linting common pythons in DB
vdelacruzb Sep 19, 2022
8653c6e
Update sql_lint script
Jesus89 Sep 20, 2022
2f4f5c4
add python3 to readmes
vdelacruzb Sep 20, 2022
10d8a9a
Improve sql_lint script in bigquery
Jesus89 Sep 20, 2022
597303d
Update sql_lint script for redshift
Jesus89 Sep 20, 2022
4f4fe0f
wip update linter structure in snowflake
vdelacruzb Sep 20, 2022
296797b
Merge branch 'chore/sc-250230/add-linter-sql-and-markdown' of https:/…
vdelacruzb Sep 20, 2022
fe34d25
Fix snowflake sql linter
Jesus89 Sep 20, 2022
a6f0261
Review sql_lint scripts in all clouds
Jesus89 Sep 20, 2022
aa8d489
Minor updates in sql linter
Jesus89 Sep 20, 2022
325b128
Ignore NULL assignments in linter
Jesus89 Sep 20, 2022
5936afc
update makeellipse in SF
vdelacruzb Sep 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .github/workflows/bigquery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10

jobs:

Expand Down Expand Up @@ -43,6 +44,12 @@ jobs:
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT_CI }}
- name: Setup python 3
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON3_VERSION }}
- name: Setup virtualenv
run: pip install virtualenv
- name: Run linter and tests
run: |
cd clouds/bigquery
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- ".github/workflows/databricks.yml"

env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.11

jobs:
Expand All @@ -31,6 +32,10 @@ jobs:
FILES: 'Makefile'
- name: Setup scala
uses: olafurpg/setup-scala@v11
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup python 3
uses: actions/setup-python@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10

jobs:

Expand All @@ -34,6 +35,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup python 3
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON3_VERSION }}
- name: Setup virtualenv
run: pip install virtualenv
- name: Run linter and tests
run: |
cd clouds/snowflake
Expand Down
Loading