Skip to content

Commit

Permalink
Configure linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Aug 19, 2024
1 parent 9f68a28 commit 0cb2030
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on: [push, pull_request]

jobs:
sqlfluff:
name: SQLFluff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install SQLFluff
run: pip install sqlfluff
- name: Run SQLFluff
run: sqlfluff lint .
4 changes: 4 additions & 0 deletions .sqlfluff
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[sqlfluff]
dialect = ansi
exclude_rules = L046, RF02, RF06
max_line_length = 120

0 comments on commit 0cb2030

Please sign in to comment.