Skip to content

Commit

Permalink
Metrics calculation service (#2613)
Browse files Browse the repository at this point in the history
* Working MCS

* further improve task handling

* Added some testing for the service

* remove unused files

* sort all imports

* Reformat and fix tests

* remove unnecessary

* more clean up

* remove

* delete evaluator
  • Loading branch information
ravenac95 authored Dec 11, 2024
1 parent 0b6a39c commit 8e3fff7
Show file tree
Hide file tree
Showing 26 changed files with 2,593 additions and 1,312 deletions.
35 changes: 18 additions & 17 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"**/!(.eslintrc)*.{js,jsx,ts,tsx,sol}": [
"eslint --ignore-path .gitignore --max-warnings 0",
"prettier --ignore-path .gitignore --write",
"prettier --ignore-path .gitignore --log-level warn --check"
],
"**/*.{md,json}": [
"prettier --ignore-path .gitignore --write",
"prettier --ignore-path .gitignore --log-level warn --check"
],
"**/*.py": [
"poetry run ruff check --fix --force-exclude",
"pnpm pyright"
],
"warehouse/dbt/**/*.sql": [
"poetry run sqlfluff fix -f",
"poetry run sqlfluff lint"
]
"**/!(.eslintrc)*.{js,jsx,ts,tsx,sol}": [
"eslint --ignore-path .gitignore --max-warnings 0",
"prettier --ignore-path .gitignore --write",
"prettier --ignore-path .gitignore --log-level warn --check"
],
"**/*.{md,json}": [
"prettier --ignore-path .gitignore --write",
"prettier --ignore-path .gitignore --log-level warn --check"
],
"**/*.py": [
"poetry run ruff check --fix --force-exclude",
"poetry run isort",
"pnpm pyright"
],
"warehouse/dbt/**/*.sql": [
"poetry run sqlfluff fix -f",
"poetry run sqlfluff lint"
]
}
177 changes: 176 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ dagster-k8s = "^0.24.6"
pyiceberg = { extras = ["hive"], version = "^0.7.1" }
connectorx = "^0.4.0"
bokeh = "^3.6.1"
fastapi = { extras = ["standard"], version = "^0.115.6" }
pyee = "^12.1.1"
aiotrino = "^0.2.3"
pytest-asyncio = "^0.24.0"
isort = "^5.13.2"


[tool.poetry.scripts]
Expand Down Expand Up @@ -136,3 +141,6 @@ exclude = [
"warehouse/oso_dagster/dlt_sources/sql_database/**/*.py",
"warehouse/oso_dagster/dlt_sources/sql_database/*.py",
]

[tool.isort]
profile = "black"
Empty file.
Loading

0 comments on commit 8e3fff7

Please sign in to comment.