Skip to content

Commit

Permalink
style: upgrade trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Feb 20, 2024
1 parent 407cc8a commit a1e8262
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
8 changes: 5 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

## Summary & Motivation

[//]: # (When merged, this pull request will...)
[//]: # "When merged, this pull request will..."

## Self-review

- [ ] Update **due date**, **assignee**, and **priority** on our [TEAMster Asana Project](https://app.asana.com/0/1205971774138578/1205971926225838)
- [ ] Update **due date**, **assignee**, and **priority** on our
[TEAMster Asana Project](https://app.asana.com/0/1205971774138578/1205971926225838)

_If this is a same-day request, please flag that in Slack_
_If this is a same-day request, please flag that in Slack_

- [ ] <kbd>Format</kbd> has been run on all modified files

## Troubleshooting

- [SqlFluff Rules Reference](https://docs.sqlfluff.com/en/stable/rules.html)
- [Trunk](https://teamschools.github.io/teamster/CONTRIBUTING/#trunk)
- [dbt](https://teamschools.github.io/teamster/CONTRIBUTING/#dbt-cloud_1)
20 changes: 11 additions & 9 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cli:
plugins:
sources:
- id: trunk
ref: v1.4.2
ref: v1.4.3
uri: https://github.com/trunk-io/plugins
lint:
disabled:
Expand Down Expand Up @@ -48,7 +48,7 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- [email protected].1
- [email protected].2
- [email protected]
- git-diff-check
- [email protected]
Expand All @@ -58,19 +58,21 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- [email protected].0
- [email protected].1
definitions:
- name: ruff
commands:
- name: format
output: rewrite
run: ruff format ${target}
success_codes: [0]
batch: true
in_place: true
- output: rewrite
success_codes:
- 0
allow_empty_files: false
batch: true
cache_results: true
enabled: true
formatter: true
in_place: true
name: format
run: ruff format ${target}
runtimes:
enabled:
- [email protected]
Expand Down
2 changes: 1 addition & 1 deletion docs/images/horse-variant.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions src/dbt/kipptaf/models/surveys/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ sources:
skip_leading_rows: 1
- name: src_surveys__cmo_engagement_regional_survey_detail_archive
external:
location: "{{ var('couchdrop_cloud_storage_uri_base')
location:
"{{ var('couchdrop_cloud_storage_uri_base')
}}/surveys/cmo_engagement_regional_survey_detail_archive.csv"
options:
format: CSV
Expand All @@ -42,7 +43,8 @@ sources:
data_type: NUMERIC
- name: src_surveys__manager_survey_detail_archive
external:
location: "{{ var('couchdrop_cloud_storage_uri_base') }}/surveys/manager_survey_detail_archive.csv"
location:
"{{ var('couchdrop_cloud_storage_uri_base') }}/surveys/manager_survey_detail_archive.csv"
options:
format: CSV
skip_leading_rows: 1

0 comments on commit a1e8262

Please sign in to comment.