forked from lsc-sde/neurology_informatics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
32 lines (32 loc) · 1.18 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: detect-private-key
# - repo: https://github.com/sqlfluff/sqlfluff
# rev: 1.4.5
# hooks:
# - id: sqlfluff-lint
# # For dbt projects, this installs the dbt "extras".
# # You will need to select the relevant dbt adapter for your dialect
# # (https://docs.getdbt.com/docs/available-adapters):
# # additional_dependencies: ['<dbt-adapter>', 'sqlfluff-templater-dbt']
# - id: sqlfluff-fix
# # Arbitrary arguments to show an example
# # args: [--rules, "L003,L014"]
# additional_dependencies: ['dbt-sqlserver', 'sqlfluff-templater-dbt']
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black-jupyter
language_version: python3.11
# Caution: This will remove output cells in all Jupyter notebooks.
# However, prevents accidentally committing sensitive outputs in notebooks.
# To share output of notebooks that are not reproducible for others, export to html and save in reports/ folder.
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout