Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump dependencies #1

Merged
merged 9 commits into from
Jun 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: "3.11.x"
python-version: "3.12.x"
- name: Install Python dependencies
run: |
pip install uv
Expand Down
21 changes: 7 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-yaml
exclude: reports/evidence.plugins.yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: requirements-txt-fixer
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.3.3
rev: v0.4.9
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
- id: ruff-format
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.0.1
rev: 3.0.7
hooks:
- id: sqlfluff-fix
args: ["./models/"]
additional_dependencies:
[
"dbt-core~=1.7.10",
"dbt-duckdb~=1.7.3",
"sqlfluff-templater-dbt~=3.0.1",
"dbt-core~=1.8.2",
"dbt-duckdb~=1.8.1",
"sqlfluff-templater-dbt~=3.0.7",
]
2 changes: 1 addition & 1 deletion .sqlfluff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[sqlfluff]
dialect = duckdb
templater = dbt
# templater = dbt

[sqlfluff:templater:dbt]
profiles_dir = .
Expand Down
Empty file removed data-tests/.gitkeep
Empty file.
5 changes: 3 additions & 2 deletions models/marts/sf_trees.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ clean_up_species as (
longitude,
planted_at_date,
case
when plant_type = 'Tree' or plant_type = 'tree' then 'tree'
when plant_type = 'Landscaping' then 'landscaping'
when plant_type ilike 'tree' then 'tree'
when plant_type ilike 'landscaping' then 'landscaping'
else 'unknown'
end as plant_type,
split_part(species, ':: ', 1) as species_scientific_name,
split_part(species, ':: ', 2) as species_friendly_name,


from sf_trees

)

select *, from clean_up_species
10,471 changes: 7,515 additions & 2,956 deletions reports/package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions reports/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "my-evidence-project",
"version": "0.0.1",
"name": "dbtree",
"version": "0.0.2",
"scripts": {
"build": "evidence build",
"build:strict": "evidence build:strict",
Expand All @@ -15,18 +15,18 @@
},
"type": "module",
"dependencies": {
"@evidence-dev/bigquery": "^2.0.4",
"@evidence-dev/core-components": "^3.5.1",
"@evidence-dev/csv": "^1.0.7",
"@evidence-dev/databricks": "^1.0.3",
"@evidence-dev/duckdb": "1.0.6",
"@evidence-dev/evidence": "^29.0.2",
"@evidence-dev/mssql": "^1.0.5",
"@evidence-dev/mysql": "^1.1.0",
"@evidence-dev/postgres": "^1.0.4",
"@evidence-dev/snowflake": "^1.0.3",
"@evidence-dev/sqlite": "^2.0.3",
"@evidence-dev/trino": "^1.0.4"
"@evidence-dev/bigquery": "^2.0.6",
"@evidence-dev/core-components": "^4.5.1",
"@evidence-dev/csv": "^1.0.11",
"@evidence-dev/databricks": "^1.0.6",
"@evidence-dev/duckdb": "^1.0.10",
"@evidence-dev/evidence": "^38.0.1",
"@evidence-dev/mssql": "^1.0.7",
"@evidence-dev/mysql": "^1.1.2",
"@evidence-dev/postgres": "^1.0.5",
"@evidence-dev/snowflake": "^1.0.6",
"@evidence-dev/sqlite": "^2.0.4",
"@evidence-dev/trino": "^1.0.6"
},
"overrides": {
"jsonwebtoken": "9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion reports/pages/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
title="🌲 dbtree 🌳"
githubRepo="https://github.com/gwenwindflower/dbtree"
builtWithEvidence={true}
logo="./logo.png"
logo="/logo.png"
>
<slot slot="content" />
</EvidenceDefaultLayout>
12 changes: 6 additions & 6 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
csv-diff~=1.1.0
dbt-core~=1.7.10
dbt-duckdb~=1.7.3
pre-commit~=3.6.0
sqlfluff~=3.0.1
sqlfluff-templater-dbt~=3.0.1
duckdb~=0.9.2
dbt-core
dbt-duckdb
pre-commit
sqlfluff
sqlfluff-templater-dbt
duckdb
Loading