forked from microsoft/dbt-fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
184 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
name: Publish Docker image for CI/CD | ||
on: | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
tags: | ||
- 'docker-*' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
default_language_version: | ||
python: python3.9 | ||
repos: | ||
- repo: 'https://github.com/pre-commit/pre-commit-hooks' | ||
rev: v4.2.0 | ||
hooks: | ||
- id: check-yaml | ||
args: | ||
- '--unsafe' | ||
- id: check-json | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
exclude_types: | ||
- markdown | ||
- id: check-case-conflict | ||
- id: check-ast | ||
- id: check-builtin-literals | ||
- id: check-merge-conflict | ||
- id: no-commit-to-branch | ||
- id: fix-byte-order-marker | ||
- id: mixed-line-ending | ||
- id: check-docstring-first | ||
- repo: 'https://github.com/adrienverge/yamllint' | ||
rev: v1.26.3 | ||
hooks: | ||
- id: yamllint | ||
args: | ||
- '-d {extends: default, rules: {line-length: disable, document-start: disable}}' | ||
- '-s' | ||
- repo: 'https://github.com/MarcoGorelli/absolufy-imports' | ||
rev: v0.3.1 | ||
hooks: | ||
- id: absolufy-imports | ||
- repo: 'https://github.com/hadialqattan/pycln' | ||
rev: v1.2.5 | ||
hooks: | ||
- id: pycln | ||
args: | ||
- '--all' | ||
- repo: 'https://github.com/pycqa/isort' | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
args: | ||
- '--profile' | ||
- black | ||
- '--atomic' | ||
- '--line-length' | ||
- '99' | ||
- '--python-version' | ||
- '39' | ||
- repo: 'https://github.com/psf/black' | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
args: | ||
- '--line-length=99' | ||
- '--target-version=py39' | ||
- id: black | ||
alias: black-check | ||
stages: | ||
- manual | ||
args: | ||
- '--line-length=99' | ||
- '--target-version=py39' | ||
- '--check' | ||
- '--diff' | ||
- repo: 'https://gitlab.com/pycqa/flake8' | ||
rev: 3.9.2 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
- '--max-line-length=99' | ||
- id: flake8 | ||
args: | ||
- '--max-line-length=99' | ||
alias: flake8-check | ||
stages: | ||
- manual | ||
- repo: 'https://github.com/pre-commit/mirrors-mypy' | ||
rev: v0.950 | ||
hooks: | ||
- id: mypy | ||
args: | ||
- '--show-error-codes' | ||
- id: mypy | ||
alias: mypy-check | ||
stages: | ||
- manual | ||
args: | ||
- '--show-error-codes' | ||
- '--pretty' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
recursive-include dbt/include *.sql *.yml *.md | ||
recursive-include dbt/include *.sql *.yml *.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = '1.0.0.dev0' | ||
version = "1.0.0.dev0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
name: dbt_sqlserver | ||
version: 1.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,4 +60,4 @@ | |
{%- endcall -%} | ||
{% endmacro %} | ||
{% endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{% macro sqlserver__current_timestamp() -%} | ||
SYSDATETIME() | ||
{%- endmacro %} | ||
{%- endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{# we don't support "persist docs" today, but we'd like to! | ||
https://github.com/dbt-msft/dbt-sqlserver/issues/134 | ||
|
||
#} | ||
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ | |
{% endmacro %} | ||
|
||
|
||
{# there is no drop_schema... why? #} | ||
{# there is no drop_schema... why? #} |
Oops, something went wrong.