Skip to content

Commit

Permalink
lint sql tables
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed May 13, 2024
1 parent 34d632f commit 1e46e08
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 185 deletions.
17 changes: 11 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
repos:
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0 # or specific git tag
hooks:
- id: script-must-have-extension
- id: script-must-not-have-extension
- id: shellcheck
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0 # or specific git tag
hooks:
- id: script-must-have-extension
- id: script-must-not-have-extension
- id: shellcheck
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.0.4
hooks:
- id: sqlfluff-lint
args: [--dialect, "sqlite", -e, "references.keywords,layout.long_lines,references.special_chars"]
1 change: 1 addition & 0 deletions workspace/scripts/01-make-pioreactor-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ usermod -a -G spi pioreactor
usermod -a -G i2c pioreactor
usermod -a -G www-data pioreactor
usermod -a -G video pioreactor
usermod -a -G dialout pioreactor
usermod -a -G systemd-journal pioreactor

chmod 755 /home/pioreactor
Expand Down
Loading

0 comments on commit 1e46e08

Please sign in to comment.