feat: refactor project
This commit is contained in:
19
.pre-commit-config.yaml
Normal file
19
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.8.6
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
files: ^backend/
|
||||
- id: ruff-format
|
||||
files: ^backend/
|
||||
|
||||
- repo: https://github.com/sqlfluff/sqlfluff
|
||||
rev: 3.3.0
|
||||
hooks:
|
||||
- id: sqlfluff-lint
|
||||
files: ^backend/app/sql/
|
||||
additional_dependencies: []
|
||||
- id: sqlfluff-fix
|
||||
files: ^backend/app/sql/
|
||||
additional_dependencies: []
|
||||
Reference in New Issue
Block a user